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

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 Answers
2
Update myTable set [Column] = REPLACE([Column],N'₦', '') -- Assuming nvarchar()
You should try to avoid Reserved Words.

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

Prashant Kumar Singh
- 61
- 9