SQL Server checking if you have access to a database

Posted by J Harley on Stack Overflow See other posts from Stack Overflow or by J Harley
Published on 2010-05-27T07:34:50Z Indexed on 2010/05/27 8:21 UTC
Read the original article Hit count: 208

Filed under:

Good Morning,

I have connected to my SQL Server 2005 - and have managed to list all of the databases on that server. Now I would like to run a check on each database to see if I have permission to view that database..

How would I go about this?

Many Thanks, Joel

© Stack Overflow or respective owner

Related posts about sql-server-2005