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
Mention what is the use of function "module procedure" in pl/sql?
What is sql architecture?
What is the purpose of my sql?
difference between anonymous blocks and sub-programs.
How many clustered indexes can be created on a table?
What is a constraint? Tell me about its various levels.
Why do we use procedures in sql?
Can you have a foreign key without a primary key?
What is trigger in pl sql?
What is view? Can we update view
how to see the create table statement of an existing table? : Sql dba
Is oracle and sql same?
What is the difference between clustered and non-clustered index in sql?
Explain normalization and what are the advantages of it?
how to add a new column to an existing table in mysql? : Sql dba