can we call a procedure into another procedure?If yes means
how you can pass the perameters for the two procedures?
Answers were Sorted based on User's Feedback
Answer / madhuri
We can call a procedure into another procedure.
create or replace procedure proc1(empno number) is
begin
proc2(20,'CLERK');
end;
When we execute proc1 as follows
exec proc1(7891);
it will execute proc1 and proc2 as well
Is This Answer Correct ? | 7 Yes | 6 No |
Answer / 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 |
What is sql injection owasp?
What will you get by the cursor attribute sql%rowcount?
What are the most important characteristics of pl/sql?
How do you display "13th of November, 17 days left for month end" without hardcoding the date.
Can we group by two columns in sql?
What is union?
What is the difference between numeric and autonumber?
What is difference between stored procedure and trigger?
What normalization means?
what is the difference between $message and $$message? : Sql dba
How can I tell if sql is running?
Is pl sql still used?