Francisco H Tapia
my.lists at verizon.net
Mon Oct 6 10:57:29 CDT 2003
Arthur Fuller wrote: > Suppose I want to change a column name globally (i.e. in every table, > every sproc, every view and every UDF). Is there a concise way of doing > it? SalesID -> SaleNumber. > > TIA, > Arthur > Don't know about Sprocs or UDF's but I have an old script from the days in SWYNK.com, it's called sp_ColumnHelp, it locates all the views/tables that a specific column is available and if you add the additional paramter even gives back only those that match a specific value. With some tweaking I'm sure you could adjust it to do what you want for the tables/views, but I'm not sure about sprocs and udfs. I can send you the .sql attachment seperatly if you want it. -- -Francisco