when to use procedure and function in oracle code example
Example: syntax of procedure in oracle
CREATE OR REPLACE PROCEDURE procedure_name
[ (parameter [,parameter]) ]
IS
[declaration_section]
BEGIN
executable_section
[EXCEPTION
exception_section]
END [procedure_name];
EXECUTE procedure_name(?,?,?);