1

update myTable set Column = REPLACE(Column,'₦', '')
I tried to remove the naira with the above command but it's not just working for me.

micheal__og
  • 69
  • 1
  • 6
  • Possible duplicate of [How to strip all non-alphabetic characters from string in SQL Server?](http://stackoverflow.com/questions/1007697/how-to-strip-all-non-alphabetic-characters-from-string-in-sql-server) – Igor Quirino Dec 22 '16 at 19:50

2 Answers2

2
Update myTable set [Column] = REPLACE([Column],N'₦', '')  -- Assuming nvarchar()

You should try to avoid Reserved Words.

https://msdn.microsoft.com/en-us/library/ms189822.aspx

John Cappelletti
  • 79,615
  • 7
  • 44
  • 66
0
UPDATE Dummy set myColumn = replace(myColumn,'abc','xyz');

where abc is character that you want to remove from mycolumn and xyz is substring that u want to replace with the special character