Reply to comment

Mit MySQL suchen und ersetzen

MySQL bietet die Möglichkeit einen Begriff in einem Feldwert direkt zu ersetzen, z.B.:

UPDATE tabelle SET feld = REPLACE(feld, 'suchbegriff', 'ersetzender');

Funktioniert seit Version 3 und bis zur Version 5.1 von MySQL

Gefunden unter: http://dev.mysql.com/doc/refman/5.1/de/string-functions.html

Trackback URL for this post:

http://www.pebosi.net/trackback/15

Reply

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Textual smileys will be replaced with graphical ones.

More information about formatting options