Jump to content

sql find and replace


hbalagh

Recommended Posts

I need to run a find and replace

 

 

UPDATE post SET pagetext = replace(pagetext,  "/Deep Water Culture", "deep-water-culture");

 

 

is this ok and it will only replace /Deep Water Culture with deep-water-culture  or do i have to worry about it finding other references without the / in it and replacing it with deep-water-culture??

 

 

Link to comment
https://forums.phpfreaks.com/topic/215577-sql-find-and-replace/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.