Search and replace in MySQL
July 19, 2007 2:17 PM
Subscribe
MySQL: How do I search and replace a value in a table under certain conditions:
Record belongs to tables "pages_language_overlay" or "tt_content", need to change the value "sys_language_uid" from 2 to 3 (only when it's == 2 in the first place).
This is for a LAMP + Typo3-based website, and I can do this via phpmyadmin or PuTTY.
posted by signal to computers & internet (5 comments total)
1 user marked this as a favorite
posted by sanko at 2:26 PM on July 19, 2007