Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

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


sp_MShasdbaccess    

0 (success) or 1 (failure)

Execute permission is granted to the public role.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.