View Single Post
Old 2006-08-03, 07:49 AM   #2
porno0net
Aw, Dad, you've done a lot of great things, but you're a very old man, and old people are useless
 
Join Date: Feb 2005
Location: Kuopio, Finland
Posts: 26
Quote:
Originally Posted by CelticTiger
Can someone tell me if there is a MySql statement that will do a search and replace on a database? Or any alternative maybe?

UPDATE links SET niche='Amateur' WHERE niche='Amaateur';

UPDATE links SET niche='Hairy',status='Active' WHERE submitter='xxxx' AND email like 'some_dude%';

I hope this helps
porno0net is offline   Reply With Quote