Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Mysql -> select replace

Empfohlene Antworten

Veröffentlicht

hallo zusammen,

ich pflege eine mysql Datenbank

und hab folgendes Problem:

ich habe einige tabellen, in denen ein string vorkommt, den ich ändern soll.

ein string lautet zum beispiel "string test weitererstring"

nun möchte ich "test" mit "fest" ersetzen.

müsste eigentlich lauten

select replace ("string test weitererstring", "test", "fest")

{REPLACE(str,from_str,to_str)}

da der text "test" aber in beliebigem zusammenhang in der tabelle vorkommt,

und ich den text überall ersetzen will,

bräuchte ich für str einen placeholder ??? oder

ähm versteht mich jemand????

garnicht so leicht eine frage zu stellen

bitte hilfe!!

vielleicht kann mir ja jemand helfen

liebe grüsse

da.cappo

Hallo Mascha,

klasse!

das geht dehr in die richtung die ich brauche.

danke!

Weisst du vielleicht auch wie ich . ohne den spaltennamen zu wissen

über die datenbank scannen kann und immer wenn dieser string auftaucht

diesen ersetzen kann?

geht sowas ?

habe schon viel gegoogelt .. aber irgendwie komm ich nicht so richtig an informationen.

danke für deine antwort

liebe grüße

da,cappo

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.