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

Can I use JDBC to execute non-standard features that my DBMS provides?

1013


How many types of jdbc drivers are available?

938


What is difference between odbc and jdbc?

1026


What is jdbc drivers in java?

932


What is jdbc servlet?

968


What is jdbc and explain jdbc architecture?

1019


Which is better jpa or jdbc?

913


What are the different types of locking in JDBC?

1015


Write an sql to find all records having all upper case alphanumeric characters in a field ?

948


What is JDBC Transaction Management and why do we need it?

1155


DB2 Universal claims to support JDBC 2.0, But I can only get JDBC 1.0 functionality. What can I do?

971


How do I disallow NULL values in a table?

1002


What is a jdbc driver and how many jdbc drivers are available?

1055


What is JDBC PreparedStatement?

960


What does the connection object represents?

1065