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 want to execute a piece of code before calling a procedure. How to achieve it?

Answer Posted / abhisekh

we can call a procedure using 2 ways
1.using exec <procedure>
2.using anonymous block< begin <procedure> end;
now coming to ur questions answer. crate a anonymous block and add the statements u wanted to execute first then call the procedure.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is sql scripting?

1094


What is varchar sql?

1118


What is the least restrictive isolation level? : Transact sql

1048


What is sql engine in oracle?

972


How do you update a value in sql?

1022


How does rowid help in running a query faster?

1402


column A column b | output 10 7 | 10 5 8 | 8 7 -9 | 7 3 5 | 5 0 6 | 6 Write a sql query to print such output.

7272


How can you load microsoft excel data into oracle? : aql loader

1155


What are the different parts of a package?

1100


What is the use of procedures?

964


What is primary key secondary key alternate key candidate key?

1017


What are variables in pl sql?

1145


What is a full join?

959


How to run pl/sql statements in sql*plus?

1060


Can we connect to postgresql using sql developer?

982