You can escape quotation like this:
select 'it''s escaped'
result will be
it's escaped
More Related Contents:
- How can I escape square brackets in a LIKE clause?
- How to get the last row from a table in SQL Server?
- Alias name is same as column name [closed]
- LocalDB deployment on client PC
- Understanding PIVOT function in T-SQL
- The order of a SQL Select statement without Order By clause
- Using RegEx in SQL Server
- What is the best way to auto-generate INSERT statements for a SQL Server table?
- Storing a file in a database as opposed to the file system?
- SQL Server named instance with Visual Studio 2017 Installer project
- How do you count the number of occurrences of a certain substring in a SQL varchar?
- Why is it considered bad practice to use cursors in SQL Server?
- Import Excel spreadsheet columns into SQL Server database
- CAST and IsNumeric
- Find index of last occurrence of a sub-string using T-SQL
- Hidden Features of SQL Server
- Hitting the 2100 parameter limit (SQL Server) when using Contains()
- SQL Server 2008 Empty String vs. Space
- How can I clone an SQL Server database on the same server in SQL Server 2008 Express?
- SQL Query to find the last day of the month
- SQL Server, convert a named instance to default instance?
- How to drop column with constraint?
- How to specify a port number in SQL Server connection string?
- Retrieving date in sql server, CURRENT_TIMESTAMP vs GetDate()
- SQL Server 2008 Vertical data to Horizontal
- What are some ways of accessing Microsoft SQL Server from Linux?
- LPAD in SQL Server 2008
- Conditional JOIN Statement SQL Server
- How do you deal with blank spaces in column names in SQL Server?
- ODBC Call Failed with stored procedure – Pass through query