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 execute(), executeUpdate() and executeQuery()
methods?

Answer Posted / bharat

executeUpdata()= is for the operations such as Insert,
update and delete on SQL by PreparedStatement or Statement.

executeQuery()= is for operation select of Sql by
PreparedStatement or Statement.

Is This Answer Correct ?    5 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the fastest type of JDBC driver?

1053


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

1017


What are the jdbc statements?

971


How does jdbc connect to database?

879


Is it possible to connect to multiple databases simultaneously?

1060


What is execute in java?

968


What is type 4 jdbc driver?

847


Explain the locking system in jdbc & its types?

973


What are the steps to connect to a database in java?

933


How can I instantiate and load a new CachedRowSet object from a non-JDBC source?

982


How do I insert an image file (or other raw data) into a database?

965


Which interface is responsible for transaction management in jdbc?

1019


What are the common tasks of JDBC?

991


What is difference between odbc and jdbc?

1022


How can I use the JDBC API to access a desktop database like Microsoft Access over the network?

1014