Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Understanding of permissions
Message
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Sécurité
Divers
Thread ID:
00762163
Message ID:
00762196
Vues:
11
>A sproc has rights to access tables only in the database (DB) it resides in. If it access tables from another DB, you'll have to grant user the rights to those tables.

Sergey,

I think I found out the problem. Since the stored proc is executing a dynamic SQL statement with the EXEC() function, permissions are being checked on the statement inside the EXEC for the user executing the procedure.

Laterness,
Jon
Jon Rosenbaum
Devcon Drummer
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform