Rename or comment Sql Server's databases

Andrei.AmzaAndrei.Amza Posts: 2
edited February 11, 2011 12:15PM in SQL Multi Script
Hi,

I think it would be great if you could rename a "server.database" object (like an Sql Server Alias --> ComputerName\Instance\Database) or leave a comment near one, like a label. I could use that to know exactly on which computer I'm running a script instead of adding:
SELECT srvname as Server FROM master..sysservers WHERE srvid = 0

Thank you!

Comments

Sign In or Register to comment.