Reputation: 69
update myTable set Column = REPLACE(Column,'₦', '')
I tried to remove the naira with the above command but it's not just working for me.
Upvotes: 1
Views: 3157
Reputation: 61
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
Upvotes: 0
Reputation: 81960
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
Upvotes: 2