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

Describe the steps needed to execute a sql query using jdbc.

919


How can I determine where a given table is referenced via foreign keys?

951


Explain how to make updates to the updatable resultsets.

865


What is execute in java?

917


How can we set null value in jdbc preparedstatement?

918


Where is mysql jdbc driver located?

965


If I use the JDBC API, do I have to use ODBC underneath?

973


What is jdbc and its types?

899


What is a jdbc connection pool?

878


What is jdbc connection?

1046


Explain in detail about JDBC and its general features?

905


What is the different between ResultSet and RowSet?

955


What is jdbc class forname?

918


What do you mean by odbc?

958


Is jdbc connection secure?

886