Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
ssiss
Starting Member
10 Posts |
Posted - 2008-09-07 : 12:23:58
|
| I changed name of 50 tables in my databases. In the same database I have 100+ Stored procedures that refers to those tables (with old name). Is there any automated method using which I can change the SP's with the New names of the table whereever it is being reffered?Thanks |
|
|
visakh16
Very Important crosS Applying yaK Herder
52326 Posts |
Posted - 2008-09-07 : 15:12:56
|
| Nope. you need to search for sps using them and change manually. use sp_depends to find out related sps,udfs,... |
 |
|
|
bjoerns
Posting Yak Master
154 Posts |
Posted - 2008-09-08 : 06:53:11
|
| How about creating views with the old names? |
 |
|
|
|
|
|