2007-06-11 16:24:52

レコード内文字列置換

[MySQL]

tableテーブルの columnカラム内の aaaa を bbbb に置換。

UPDATE `table` SET column=REPLACE(column,'aaaa','bbbb');