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