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 |
|
riteshsc
Starting Member
3 Posts |
Posted - 2008-04-11 : 05:35:29
|
| hi, i am using stored procedure which put data in another table fron different database. so i am using servername.databasename.dbo.tablename.if I am change the servername then i have to edit the Stored procedure. Is there any way to access server name.so that if server name is chane then also i dont have to change stored procedure.Like in c we use #define where we change value of variable that is reflected in whole program. |
|
|
harsh_athalye
Master Smack Fu Yak Hacker
5581 Posts |
|
|
|
|
|