SQL 53
SQL replace a column in table with where clause By micha on 1st June 2023 09:52:51 AM
  1. // REPLACE the author name FROM serial TO micha
  2.  
  3. UPDATE `pastes`
  4. SET `member` = REPLACE(`member`, 'serial', 'micha')
  5. WHERE `member` LIKE '%serial%'

Paste is for source code and general debugging text.

Login or Register to edit, delete and keep track of your pastes and more.

Raw Paste

Login or Register to edit or fork this paste. It's free.