sp_MShasdbaccess (Transact-SQL)
Lists the name and owner of all the databases to which the user has access.
Syntax
sp_MShasdbaccess
Return Code Values
0 (success) or 1 (failure)
Permissions
Execute permission is granted to the public role.
Den här webbläsaren stöds inte längre.
Uppgradera till Microsoft Edge och dra nytta av de senaste funktionerna och säkerhetsuppdateringarna, samt teknisk support.
Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Lists the name and owner of all the databases to which the user has access.
sp_MShasdbaccess
0 (success) or 1 (failure)
Execute permission is granted to the public role.