Marcus wrote:
What is the quickest way to replace each ['] with a ['] throughout
the database fields while leaving everything else intact?
I'd try this:
UPDATE myTable SET
textField1 = REPLACE(textField1, '\'', '''),
textField2 = REPLACE(textField2, '\'', '''),
textField3 = REPLACE(textField3, '\'', ''');
You probably have to repeat this for every table that contains text fields.
See
http://dev.mysql.com/doc/mysql/en/String_functions.html for more
info on REPLACE() and many other string functions built into MySQL.
MySQL has a pretty good set of builtin functions, and familiarizing
yourself with them is a worthwhile thing to do if you use MySQL regularly.
Regards,
Bill K.