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 the use of function in sql?

1090


What is a database? Explain

1105


what is innodb? : Sql dba

1097


which operator is used in query for pattern matching? : Sql dba

1003


What is the purpose of cursors in pl/sql?

1134


Can we write ddl statements in functions?

1111


How to revise and re-run the last sql command?

1162


What is data control language?

985


Is sql a backend?

1014


How does pl sql work?

957


What are the types of dbms?

971


Write the order of precedence for validation of a column in a table? I. Done using database triggers. Ii. Done using integarity constraints

1070


Is full outer join same as cross join?

964


Under what condition it is possible to have a page level lock and row lock at the same time for a query? : Transact sql

979


what is data manipulation language? : Sql dba

1012