-A procedure is a subprogram that performs a specific
-You write procedures using the syntax :-
PROCEDURE ... (emp_id NUMBER(4)) IS -- illegal; should
BEGIN ... END;
7)The procedure body begins with the keyword IS and ends
with the keyword END followed by an optional procedure
8) The procedure body has three parts:
1) a declarative part.
2) an executable part.
3) and an optional exception-handling part.
PROCEDURE raise_salary (emp_id INTEGER, increase REAL) IS
INSERT INTO emp_audit VALUES (emp_id, 'Salary is
2- to make it possible for applications to call it.
-Each publicly-visible procedure in a schema must have a
- The name must be a legal PL/SQL identifier.
generated(what it means?) by SQL*Module, the stored
procedure name must also be a legal identifier in the
calling host 3GL language such as Ada or C.
different subprograms as long as their formal parameters
differ in number, order, or datatype family. See the
PL/SQL User's Guide and Reference for more information
This action might not be possible to undo. Are you sure you want to continue?