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 are the jdbc api components?

1145


What is jdbc and jpa?

994


What are the main components of JDBC ?

1068


Why hibernate is better than jdbc?

930


How can I instantiate and load a new CachedRowSet object from a non-JDBC source?

988


Why do we need a jdbcrowset like wrapper around resultset?

1246


What is the reason why we need a jdbcrowset like the wrapper around resultset?

976


Explain about column name and getter method?

1066


What do you understand by jdbc statements?

1025


What are the factors that the jdbc driver performance depends upon?

973


Define preparedstatement.

985


What are the steps required to execute a query in jdbc?

942


Why do we use jdbc?

1009


What is a statement?

1014


How to insert and delete a row programmatically? (new feature in JDBC 2.0)

996