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

Can I call a procedure inside a function?

738


How do you exit in sql?

815


Is time a data type in sql?

646


What is difference between mysql and postgresql?

705


What is the difference between a procedure and a function?

699






How do I run a pl sql procedure in sql developer?

692


Which is faster count (*) or count 1?

757


What is the difference between joins?

733


Is it important to partition hard disk?

744


What is latest version of sql?

712


how can I make a script that can be bi-language (supports english, german)? : Sql dba

730


Which command is used to delete a package?

773


What are secondary keys?

735


What kind of join is join?

704


What is an alias command?

764