You need to double up your single quotes as follows:
REPLACE(@strip, '''', '')
More Related Contents:
- Do I really need to use “SET XACT_ABORT ON”?
- SQL Server stored procedure return code oddity
- Max Nbr of Months W/ No Activity in Past 12 Months
- Export from SQL Server to Excel
- SQL server query to output the data shown below
- hide/remove header and footer
- How to use a variable for the database name in T-SQL?
- How do you view ALL text from an ntext or nvarchar(max) in SSMS?
- SQL Server: SELECT only the rows with MAX(DATE)
- Floor a date in SQL server
- Create a view with ORDER BY clause
- What does ‘COLLATE SQL_Latin1_General_CP1_CI_AS’ do?
- INSERT INTO vs SELECT INTO
- Possible to store value of one select column and use it for the next one?
- LEN function not including trailing spaces in SQL Server
- How to view transaction logs in SQL Server 2008 [closed]
- Scheduled run of stored procedure on SQL server
- SQL Server ORDER BY date and nulls last
- SSRS 2014 report deploy issue
- Best way to implement an audit trail in SQL Server?
- How can I change from SQL Server Windows mode to mixed mode (SQL Server 2008)?
- SqlDataAdapter.Fill method slow
- How can I Insert data into SQL Server using VBNet
- What happens to the primary key Id when it goes over the limit?
- how to write number to word function in sql server [closed]
- Milliseconds wrong when converting from XML to SQL Server datetime
- Using GROUP BY with FIRST_VALUE and LAST_VALUE
- Table Valued Function Killing My Query Performance
- Pivot multiple columns based on one column in SQL Server
- How to do Sql Server CE table update from another table