Export (0) Print
Expand All
Collapse the table of content
Expand the table of content
Expand Minimize

sp_MShasdbaccess (Transact-SQL)

Lists the name and owner of all the databases to which the user has access.

Topic link iconTransact-SQL Syntax Conventions


0 (success) or 1 (failure)

Execute permission is granted to the public role.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2015 Microsoft