Home » Blog » mssql ‘ escape

mssql ‘ escape

 

The text includes a single quote.

How do I escape that?

I tried using two single quotes, but it threw me some errors.

eg. insert into my_table values('hi, my name''s tim.');