0

I am writing a MySQL's script in Visual Studio Code and it happens that when I've got a string which contains the char: ' (charcode 39) and escape it as follow: \\'

it is still not interpreted as a character but as a string's closure.

Dharman
  • 30,962
  • 25
  • 85
  • 135
Majellan
  • 25
  • 5
  • Have you tried using two single quotes `''` . `SELECT 'Hello''s';` –  Apr 23 '22 at 18:51
  • Does this answer your question? [How to escape apostrophe (') in MySql?](https://stackoverflow.com/questions/9596652/how-to-escape-apostrophe-in-mysql) –  Apr 23 '22 at 18:57

0 Answers0