To replace a string in MySQL you can use the following snippet.
Sample MySQL
UPDATE TABLENAME SET FIELDNAME = REPLACE(FIELDNAME, 'ReplaceThis', 'WithThat') WHERE FIELDNAME LIKE '%ReplaceThis%'
All the Code Snippets and Samples you need
To replace a string in MySQL you can use the following snippet.
UPDATE TABLENAME SET FIELDNAME = REPLACE(FIELDNAME, 'ReplaceThis', 'WithThat') WHERE FIELDNAME LIKE '%ReplaceThis%'
You must be logged in to post a comment.
RT @CodeSnippetsNET: How to replace a string in MySQL http://t.co/qQLu5zBVZ4 #mysql #php #programming #html #js #css