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 a sql select statement?
What is the purpose of cursors in pl/sql?
What are the disadvantages of file system?
how many groups of data types? : Sql dba
what are the t string functions available in tsql? : Transact sql
Please let me know if UNION ALL and Natural Join does the same operation and are same...
How to access the current value and next value from a sequence?
How do I start pl sql?
What is procedure and function in sql?
What is record variable?
What does where 1 1 mean in sql?
How many subqueries can be nested in a statement?
Oracle (3259)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)