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?
Just insert a ' before anything to be inserted. It will be like a escape character in sqlServer
Example: When you have a field as, I'm fine. you can do: UPDATE my_table SET row ='I''m fine.';