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 PreparedStatement?

Answer Posted / mathivanan

Statement:
Where we r going to a loop the SQL query has to be
compiled every iteration.

PreparedStatement:
Unlike Statement the SQL query is compiled one time and
use that pre_compiled query in all iteration. So it reduces
the execution time
While declaring the PreparedStatement itself v can give
the query which has to performed.

Is This Answer Correct ?    23 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does jdbc setmaxrows method do?

966


What is jdbc and explain jdbc architecture?

1018


Explain Basic Steps in Writing a Java Program Using Jdbc?

1062


What are the components of jdbc?

989


What do you mean by metadata and why we are using it?

1025


What's the benefit for specifying constraints like not null, primary key explicitly instead of specifying it against the column ?

969


What is the meaning of connection?

973


How do I stop nullpointerexception?

977


What is jdbc driver?

906


What is jdbc odbc bridge in java?

1079


How can you retrieve data from the resultset using jdbc?

1073


What are the main steps in java to make JDBC connectivity?

1016


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

1055


How do I write Greek ( or other non-ASCII/8859-1 ) characters to a database?

998


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

1009