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 are the exceptions in jdbc?

995


What do you mean by two phase commits?

1144


Explain the difference between rowset vs. Resultset in jdbc?

1038


How you restrict a user to cut and paste from the html page using java programing?

939


Is jdbc a web technology?

942


What is jdbc dialect?

970


How many ways that we can view a result set?

1051


Is it possible to connect to multiple databases simultaneously?

1117


What are the different types of lockings in jdbc?

973


What do you mean by jdbc batch processing and what are the advantages of using jdbc batch processing?

1026


What is the use of callablestatement? Name the method, which is used to prepare a callablestatement.

949


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

1070


What is jdbc url for mysql?

1083


Which jdbc driver type s is are the jdbc odbc bridge?

919


State the different connection methods used for creating different types of sql.

1015