can we call a procedure into another procedure?If yes means
how you can pass the perameters for the two procedures?

Answer Posted / swapna

while creating a procedure body we can call other procedure
in that body

for example if your creating the procedure body p1 we can
call the procedure p2 in the procedure body p1

syntax

create or replace procedure p1(a number) is
b number;
begin
p1(10);-- calling first procedure
end;
when you execute procedure p1
exec p1(10) -- it will execute both p1 and p2

Is This Answer Correct ?    9 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is natural join and inner join same?

502


Can we insert in sql function?

551


What is difference between stored procedures and application procedures?

573


What is sql character function?

546


What is a memo field?

529






Can we debug stored procedure?

526


In pl/sql, what is bulk binding, and when/how would it help performance?

537


What are the triggers associated with image items?

622


what is a tablespace? : Sql dba

564


Which is faster truncate or drop?

564


Is left join same as join?

524


What is a table partition?

599


What are instead of triggers?

628


Is sql workbench free?

536


What are different types of statements supported by sql?

610