LMSouq
database Open

How to escape apostrophe (a single quote) in MySQL?

US
user4951
1 month ago
3 views
Problem Description
The [MySQL documentation][1] says that it should be `\'`. However, both SciTE and MySQL shows that `''` works. I saw that and it works. What should I do? [1]: http://dev.mysql.com/doc/refman/5.0/en/string-literals.html#character-escape-sequences

AI-Generated Solution

Powered by LMSouq AI · GPT-4.1-mini

✓ Solution Ready
Analyzing problem and generating solution…
Was this solution helpful?
Back to Knowledge Base