I have a procedure in a procedure. The inner procedure
contains out parameter. How I can call the inner procedure
in the out procedure and send the inner procedure parameter
value(out parameter value) into out procedure?

Answer Posted / naren

i think by this code u may understand



create or replace procedure p1(a out number) as
begin
a:=10;
end;
/


create or replace procedure p2 as
b number;
begin
p1(b);
dbms_output.put_line('value of inner pro paramter is:'||b);
end;
/


this code work successfully and pass a(out param of p1)
into b(variable of p2).

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is sql profiler? : Sql dba

577


How do I tune a sql query?

502


What is cursor and its types?

548


Is pl sql a programming language?

536


Can function return multiple values in sql?

516






what are enums used for in mysql? : Sql dba

599


What is cursor in pl sql with examples?

471


Can %notfound return null after a fetch?

579


What are different functions in sql?

506


What are string functions in sql?

667


What is latest version of sql?

514


Why is the cursor important?

526


What is date functions?

563


How much does sql certification cost?

535


how to include numeric values in sql statements? : Sql dba

549