SELECT db.name AS database_name, sps.name AS owner, db.create_date, db.compatibility_level, db.recovery_model_desc FROM sys.databases db INNER JOIN sys.server_principals sps ON db.owner_sid = sps.sid
Comments
Join the conversation! Your thoughts help the community grow.
Sign in to leave a comment
It is the same account you read, post and publish with — and you will come straight back to this page.
Join the conversation! Your thoughts help the community grow.