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
What is record data type?
What are local and global variables and their differences?
What is native sql query?
How many sql databases can you have on one server?
What is difference between procedure and trigger?
What are sql ddl commands?
What are the different type of joins in sql?
Explain what is an index?
What is sequence in sql?
How do I view tables in mysql?
Why do we use procedures in pl sql?
What is the use of function "module procedure" in pl/sql?
Is join and inner join the same?
What is indexing oracle sql?
what are wild cards used in database for pattern matching ? : Sql dba