sql - How do I do a simple 'Find and Replace" in MsSQL? -
question pretty self explanitory. want simple find , replace, in text editor on data in column of database (which mssql on ms windows server 2003)
the following query replace each , every a
character b
character.
update yourtable set column1 = replace(column1,'a','b') column1 '%a%'
this not work on sql server 2003.
Comments
Post a Comment