Groups | Blog | Home
all groups > sql server (microsoft) > july 2005 >

sql server (microsoft) : find and replace text in stored procs


byronbayer
7/26/2005 8:38:24 AM
You will be better generating an SQL script of all the stored procs
into one file.

open it up in textpad/notepad and do a find replace.

then run the script again.

Jay Freeman
Dica
7/26/2005 11:05:38 AM
we're updating currencies used in a database, so things like "US" become
"USD". it's simple enought to run a few update statements on the tables
where currencies are used to consolidate the old definitions to the new, but
what about updating all the stored procs that still want to find currencies
called "US"? is there a simple way to do a find/replace with stored procs?

tks

AddThis Social Bookmark Button