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...

What is the use of prepared statement?Ans:used to execute
pre compiled statement...so the question is when that
precompiled statement will be execute or
comiple?................

Answer Posted / suri

when we sent a sql stmt in to oracle sever the server
splits statemts in to mutiple stmts, checks wheather valid
or not, if it is valid it is stored in the shared pool,
where as in the normal stmt parsing will be done every time
in prepared parsing will be done only once, naxt time
onwards values will be sent to the place holders

Is This Answer Correct ?    7 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the purpose of jdbc resultset interface?

991


What protocol does jdbc use?

982


Where can I find ojdbc14 jar file?

996


What do you understand by jdbc driver and explain its types?

950


What is the role of class.forname while loading drivers?

1009


What are the advantages of database connection pooling?

919


What are the different types of JDBC drivers?

1064


What is the use of statement in jdbc?

934


What is jdbc vs odbc?

954


What are the advantages of using preparedstatement in java?

991


How do you insert images into database using jdbc?

1083


How can we set null value in jdbc preparedstatement?

966


What is a jdbc connection?

898


What are clob and blob data types in jdbc?

1040


Why do you use a data source object for a connection?

1030