I have about a thousand entries that all contain backslashes throughout the entry. Is there an easy way, or a script that can delete a specific character from every entry?
I have about a thousand entries that all contain backslashes throughout the entry. Is
Share
Replace should do your job.
http://dev.mysql.com/doc/refman/5.0/en/string-functions.html#function_replace
This should work. It will update the column replacing
\with the empty string. I just do not remember if you have to escape the\, using\\or just\. Check it before running the query, usingSELECT col, REPLACE(col,'\\','') FROM table_nameand see if the result is what you are expecting.