oracle procedure paramaters code example
Example 1: procedures in pl sql
CREATE [OR REPLACE] PROCEDURE procedure_name
[(parameter_name [IN | OUT | IN OUT] type [, ...])]
{IS | AS}
BEGIN
< procedure_body >
END procedure_name;
Example 2: oracle create stored procedure
-- Oracle
-- EXAMPLE
CREATE OR REPLACE PROCEDURE select_employees()
BEGIN
select *
from employees
limit 1000; -- Remember, the delimiters within the stored procedure remain ;
END;
/* SYNTAX
CREATE OR REPLACE PROCEDURE <Your-procedure-name>(<argument1><argument2>...<argumentN>)
BEGIN
<Code-that-stored-procedure-executes>; -- Remember, the delimiters within the stored procedure remain ;
END;
*/