28
26

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

MySQLで一括置換をかける

Posted at

MySQLのテーブルの内容に一括置換をかけたい場合は、次のようにします。

UPDATE table_name SET column=REPLACE(column, '検索文字列', '置換文字列');

処理もかなり速くて、便利。

28
26
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
28
26

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?