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.