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 / nagashree

Prepared statements are used due to its 2 advantages.

Advantages:
1) We can give dynamic values.
2) The statement will be compiled only once, it need not be
compiled each & every time we give new values.

Is This Answer Correct ?    3 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is meant by jdbc and odbc?

941


What are the different types of resultset?

1018


code to insert values/rows into oracle database from a java swing textfield when a button is pressed(using preparedstatements)

4459


What is jdbc odbc driver?

1083


What is the advantage of namedparameterjdbctemplate?

1005


Once I have the Java 2 SDK, Standard Edition, from Sun, what else do I need to connect to a database?

1046


How to move the cursor in scrollable resultset ?

1087


What is jdbc architecture in java?

992


What is jdbc connection class?

942


Explain the difference between inner and outer join ?

1099


What are dml and ddl?

1056


What are the types of jdbc drivers that exist?

1067


Explain the two tier and three tier architecture of jdbc.

962


What are the types of statements in jdbc?

1023


How do I disallow NULL values in a table?

1045