Thanks for the question, Rasitha.
Asked: April 04, 2017 - 3:02 am UTC
Last updated: April 04, 2017 - 10:01 am UTC
Version: 11g
Viewed 1000+ times
create or replace procedure p is var int; begin select col into var from ( select 1 col from dual ); dbms_output.put_line(var); end p; / exec p; PL/SQL procedure successfully completed. 1
Rasitha Ariyasingha, April 04, 2017 - 10:43 am UTC
Check out more PL/SQL tutorials on our LiveSQL tool.
PL/SQL reference manual from the Oracle documentation library