Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

I have a procedure in a procedure. The inner procedure
contains out parameter. How I can call the inner procedure
in the out procedure and send the inner procedure parameter
value(out parameter value) into out procedure?

Answer Posted / naren

i think by this code u may understand



create or replace procedure p1(a out number) as
begin
a:=10;
end;
/


create or replace procedure p2 as
b number;
begin
p1(b);
dbms_output.put_line('value of inner pro paramter is:'||b);
end;
/


this code work successfully and pass a(out param of p1)
into b(variable of p2).

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the types of optimization?

1008


Will truncate release space?

989


What is the usage of when clause in trigger?

1087


What is the use of pl/sql table?

1102


Why do we need sharding?

1046


Explain the working of foreign key?

1135


Explain what is table in a database?

1110


What is sequence in sql?

1075


how to rename an existing table in mysql? : Sql dba

1114


What are the datatypes available in pl/sql ?

1150


what is the syntax for using sql_variant_property? : Transact sql

1081


What is input buffer in sql*plus?

1291


What are basic techniques of indexing?

1441


Does mysql_real_escape_string prevent sql injection?

993


What is embedded sql in db2?

1061