I\'m trying to insert some text data into a table in SQL Server 9.
insert
SQL Server
The text includes a single quote(\').
How do I escape that?
The following syntax will escape you ONLY ONE quotation mark:
SELECT ''''
The result will be a single quote. Might be very helpful for creating dynamic SQL :).