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 Statement and PreparedStatement? whatz the
difference?

Answer Posted / harish

When you execute a SQL query with Statement. It parses and
executes in the database each time. Where as in
PreparedStatement, first time it parses and executes and
subsequent times, it directly substitute the values in the
query and executes. It is faster than Statement

Is This Answer Correct ?    11 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How many types of jdbc drivers are there?

946


What is Apache DBCP API?

952


Explain different types of locks in jdbc?

868


Explain the two tier and three tier architecture of jdbc.

843


Explain the various types of locking system in jdbc?

830


How java can be connected to a database?

1035


Is jdbc a framework?

843


What is savepoint in jdbc?

866


What are the advantages of collection pools?

970


Which is better jpa or jdbc?

867


Why do we use jdbc statements?

897


What is meant by jdbc?

879


What are the different types of drivers under jdbc?

802


What is the major difference between java.util.date and java.sql.date data type?

887


Explain the difference between inner and outer join ?

949