|
|
FULL A - Z Oracle Function Library (formerly named "Morgan's Library")
Term: EXECUTE
Definition: SQL> EXECUTE DBMS_OUTPUT.PUT_LINE(100); The EXECUTE statement below runs the stored procedure 'P_GET_SAL' to get the salary of an employee from the EMPLOYEE table. Note that G_SAL is a bind variable used to capture the OUT parameter data of the procedure. SQL> VAR G_SAL NUMBER; Note that EXECUTE is an Object privilege. If a user BOB seeks to execute a procedure whose owner is JANE, then JANE must grant the execute privilege on the procedure to BOB. For example, to grant the EXECUTE privilege for the procedure 'SPECIAL_PROC' to BOB: SQL> GRANT EXECUTE ON SPECIAL_PROC TO BOB; Related Links: |
Home | Search | Code Library | Sponsors | Privacy | Terms of Use | Contact Us | © 2003 - 2024 psoug.org |