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

Is jdbc a middleware?

898


What is a jdbc connection?

843


How to check jdbc driver version in websphere?

1028


How do I find whether a parameter exists in the request object?

871


What are the utilities of the callablestatement?

943


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

924


I have the choice of manipulating database data using a byte[] or a java.sql.blob. Which has best performance?

879


Which package contains jdbc api?

1000


How can you retrieve data from the resultset using jdbc?

1002


What is jdbc and jdbc drivers?

942


Name the method, which is used to prepare a callablestatement.

872


Give steps to connect to the db using jdbc?

977


What is jdbc drivers in java?

875


any one can explain about policy file rule? when i connect database with applet then ther is no compile time error but the run time error is occureed.i.e access is denied.policy file rule is related to this problem.

2243


What are the advantages of using preparedstatement over statement?

947