Mikel
Hallo, ich muss in der Datenbank 100 Datensätze verändern. Nur eine Spalte soll verändert werden.
In Spalte "tpl_file" sollen alle "cats_block_4.tpl" in "cats_block_5.tpl" umgeschieben werden.
Wäre dies so richtig?
UPDATE news_kategorien
SET tpl_file = 'cats_block_5.tpl'
WHERE tpl_file = 'cats_block_4.tpl'
oder welche Möglichkeiten gäbe es da noch?
In Spalte "tpl_file" sollen alle "cats_block_4.tpl" in "cats_block_5.tpl" umgeschieben werden.
Wäre dies so richtig?
UPDATE news_kategorien
SET tpl_file = 'cats_block_5.tpl'
WHERE tpl_file = 'cats_block_4.tpl'
oder welche Möglichkeiten gäbe es da noch?