Quantcast
Channel: SQL Server Database Engine forum
Viewing all articles
Browse latest Browse all 12554

Can we create synonyms for database name

$
0
0

 In my stored procedure I am pointing two data base so i have to call object like dbname.schema.objectname ,, but there is chance of database rename, so can we create synonyms for database and strat to pointing that so even db name get chnage our procedure will not break or no need to chnage all SPs.  Is there any alternative we have.

Thanks


Regards Vikas Pathak


Viewing all articles
Browse latest Browse all 12554

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>