sp_MShasdbaccess (Transact-SQL)
TOC
Collapse the table of content
Expand the table of content
The document is archived and information here might be outdated

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.

Show:
© 2016 Microsoft