Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

sp_MShasdbaccess (Transact-SQL)

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

Topic link icon Transact-SQL Syntax Conventions


0 (success) or 1 (failure)

Execute permission is granted to the public role.

Community Additions

© 2015 Microsoft