I am doing a stored procedure on the HR data base in pl / sql which returns me records.
CREATE OR REPLACE
PROCEDURE HR.Mostrar_Paises (continente NUMBER)
IS
v_rut VARCHAR(100);
BEGIN
for c in(Select Country_Name into v_rut from HR.COUNTRIES where region_id=continente)
loop v_rut:=c.Country_name;
DBMS_OUTPUT.PUT_LINE(v_rut);
end loop;
END;
I execute the stored procedure:
BEGIN
HR.Mostrar_Paises(2);
COMMIT;
END;
And he does not show me the result, only this message comes to me:
PL / SQL procedure terminated correctly.
I would like to know why you do not show me the result.