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 classes and methods used for sending sql statements to database?

1009


Why is odbc needed?

863


Why we use while rs next ())?

900


What is an SQL Locator?

1033


What is the purpose of jdbc?

982


What is jdbc and explain jdbc architecture?

950


Explain the difference between inner and outer join ?

948


What is meant by dao?

884


What is the full form of jdbc and what is its purpose?

929


What are the common jdbc exceptions?

902


What is represented by the connection object?

1015


What does jdbc setmaxrows method do?

907


Explain the two tier and three tier architecture of jdbc.

843


What are dml and ddl?

935


What is execute in java?

915