Database Object Privileges v13

Once an SPL program begins execution, any attempt to access a database object from within the program results in a check to ensure the current user has the authorization to perform the intended action against the referenced object. Privileges on database objects are bestowed and removed using the GRANT and REVOKE commands, respectively. If the current user attempts unauthorized access on a database object, then the program will throw an exception. See Exception Handling for information about exception handling.