Click here to Skip to main content
15,885,546 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
how to replace double quotes by single quotes in sql server
Posted
Comments
Richard C Bishop 17-Apr-13 10:53am    
Backspace over the double quotes and then type a single quote.

1 solution

SQL
declare @AssetDescr VARCHAR(30)
set @AssetDescr= 'This has quotes at "6".'
select @AssetDescr
SELECT REPLACE(@AssetDescr, '"','''')
 
Share this answer
 
Comments
Aarti Meswania 18-Apr-13 0:50am    
right 5+! :)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900