procedures in oracle 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 show procedures
-- Specifically for SQL:Oracle
SELECT *
FROM ALL_PROCEDURES;
Example 3: procedure PL/SQL
CREATE PROCEDURE nome_procedura [(parametri)] IS
Definizioni;
BEGIN
Corpo procedura;
END;