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

Explain the steps in writing a java program using jdbc?

941


What is jdbc class forname?

967


Which of the attributes in the monitoring tab for a jdbc connection pool in the administrative console tell us how many clients are currently waiting for a connection?

919


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

1009


What are the types of jdbc drivers that exist?

1011


Is oracle client required for jdbc connection?

968


How to know howmuch data is truncated?

2369


How do you insert images into database using jdbc?

1083


Where is ojdbc14 jar located?

945


What is the difference between ojdbc6 and ojdbc7?

885


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

1055


Does the database server have to be running Java or have Java support in order for my remote JDBC client app to access the database?

974


How can I determine the isolation levels supported by my DBMS?

991


What is JDBC PreparedStatement?

960


RowSetInternal caller and returns void. What can I do in the readData method?

981