How to script a REPLACE statement in SQL 2012? -
first of let me i'm absolute rookie in sql , scripting, please talk me little child. ;)
i have huge number of databases contain tables in have replace user information in specific columns.
old: instance a; database b,c,d,...; table e; column f,g,h,...; value 1,2,3,...
new: instance a; database b,c,d,...; table e; column f,g,h,...; value 1a,2a,3a,...
is there out here can give me little bit of hope , help? job on scale of 3000 databases, must me script it.
i appreciate kind of help.
update tablee set columnf = columnf + 'a', columng = columng + 'a' clause...
Comments
Post a Comment