Privileges for Stored Procedures
Go Up to Working with Procedures
To use a stored procedure, a user must be the creator of the procedure or must be given EXECUTE
privilege for it. An extension to the GRANT
statement assigns the EXECUTE
privilege, and an extension to the REVOKE
statement eliminates the privilege.
Stored procedures themselves sometimes need access to tables or views for which a user does not—or should not—have privileges. For more information about granting privileges to users and procedures, see Planning Security.