The mySQL manual says that embedded double quotes within a single quoted
expression (as in 'O"Hara') need no special treatment. However, when I try
to update a data base field using such an expression, as in:
UPDATE table set col1='O"Hara'
the result I get is that everything to the right of the double quote is
deleted. In other words, the result of the update is just the letter O in
this example.
I get the same result if I use the escape character as follows:
UPDATE table set col1='O\"Hara'
Is this behavior expected??
[EMAIL PROTECTED]
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php