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
  • 26,923
  • 21
  • 73
  • 125
Majellan
  • 13
  • 2
  • 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