Search This Blog

May 07, 2012

How to display User Created Database names in Sql Server



SELECT name , database_id FROM sys.databases WHERE owner_sid <> 1

No comments: