Hi
Is there a way to write a sql statement to search and replace a word in a mySql database?
For example Find “word1” in “testDatabase” and replace it with “word2”.
Hi Is there a way to write a sql statement to search and replace
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If it’s more complicated than that you should look at not changing the sql and simply altering the phrasing in the php/html when that word gets output.
You could even do something like: