I just can't figure it out. I have a text column in MSSQL7 and the client wants to update it via copy-and-paste. The text can inlcude both single and double quotes. I've used Oracle and MySQL with the exact same code, but now, on MSSQL, it breaks. Here is where the update dies:
set BODY="my \"book\" it\'s good"
If there were only single quotes, the query works. Cany anyone offer a suggestion as to why this isn't working? I use magic_quotes, as I'm too lazy to code addslashes() every time I'd need it, so the quotes are automagically escaped.
Thanks muchly,
Biggus