Bluetrait

Loading
search


Posts:
Comments:

Popular posts

Click here if you are looking for Bluetrait, the weblog software.

Login:

Username:

Password:

MySQL String Replace

Posted by Michael Dale on Thu, 26 Oct 2006 4:09 PM

Stuart just moved domains so we wanted to update his entries to link to the correct domain.

The following worked for us:

UPDATE table_name SET column_name = REPLACE(column_name,"original_string","replace_string");
On Fri, 27 Oct 2006 at 12:47 AM, Stuart wrote:

And effective it was. Cheers mate.