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 / srinivasan

execute() - will do the querying the database & also the
update,insert,delete on the database.

executeUpdate() - only the update,insert,delete on the
database.

executeQuery() - only the querying the database.

Is This Answer Correct ?    80 Yes 23 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What causes no suitable driver error?

967


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

916


What class.forname will do while loading drivers of jdbc?

941


How many types of resultset are there in jdbc?

970


Explain the main method?

1048


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

975


How the JDBC application works?

951


How many locking systems are there in jdbc?

1027


How we store procedure in oralce for callable statements in jdbc

2335


What is correlated subquery?

2327


What isolation level is used by the DBMS when inserting, updating and selecting rows from a database?

966


What is jdbc odbc in java?

1088


What is an odbc driver?

912


How do we call a stored procedure from jdbc?

976


How to retrieve warnings in jdbc?

994