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

How to get the arclen between two curve points in Maya? -

git svn - Unignore directories in git-svn (adding directories to a sparse checkout) -

C++ Linked List -