sql server - Remove special character in sql -


replace(ab.firstname,', '') 

how can remove character ' string in sql

you need double single quotes below

replace(ab.firstname, '''', '') 

or

declare @name nvarchar(50) = 'ab''c' select replace(@name,'''', '') 

Comments

Popular posts from this blog

php - How to add and update images or image url in Volusion using Volusion API -

javascript - jQuery UI Splitter/Resizable for unlimited amount of columns -

javascript - IE9 error '$'is not defined -