snippets / Replace text in SQL

Language: Sql - First posted by df3ct on 2008-02-25 09:57 (8 months, 4 weeks)
Link to the snippet: http://www.friendsnippets.org/snippet/193/

Query to replace string in SQL

1 UPDATE `table_name` SET `field_name` = replace( `field_name` , 'find this', 'replace with' ) ;
In order to post a comment, you should have a friendsnippet account. Please sign-in.

0 comments

Feb '08
  • Query to replace string in SQL

Common Tags



snippet History

Feb '08