Any suggestions? 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

sp_MShasdbaccess

0 (success) or 1 (failure)

Execute permission is granted to the public role.

Community Additions

ADD
Show:
© 2016 Microsoft