How can I pass the inner procedure value to outer
procedure ?
Answers were Sorted based on User's Feedback
Answer / som
1. Declare a variable as the datatype of the out parameter
of the inner procedure.
2. Call the inner procedure with the input/output
parameters- input parameter values and output parametr as
the variable declared.
3. After the inner procedure gets executed, the output
parameter will be accessible to the outer procedure.
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / s.syam sundar
first declare a variable globaly
and next create inner procedure with in(if need or u can
set defult parameters) and out parameters
and next result of inner procedure is assigned to global
variable
and next in outer procedure u can get the result from global
variable
regads
S.syam sundar
| Is This Answer Correct ? | 1 Yes | 0 No |
What is the Difference between Procedure and Function.Can we call a Function in a DML?
What is scalar function in sql?
Do we need to create index on primary key?
What is the difference between a procedure and a function?
What is serial sql?
Can we perform dml on view?
how to add a new column to an existing table in mysql? : Sql dba
Is big data nosql?
What is window clause?
What are hotfixes and patches?
How delete all records from table in sql?
how many tables will create when we create table, what are they? : Sql dba
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)