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 is the purpose of jdbc?

1094


Is it possible to connect to multiple databases simultaneously?

1117


Why do we use jdbc statements?

1002


What does the jdbc driver interface do?

1039


What is a statement in java?

942


Explain different types of locks in jdbc?

984


Which type of JDBC driver is the fastest one?

1135


What is java soft framework?

1049


Explain the various types of locking system in jdbc?

943


What are jdbc?

1009


How to retrieve warnings in jdbc?

1039


Under what circumstances, that all four drivers are used?

2464


What are different parts of a url?

1048


What are the common tasks of JDBC?

1040


How can you make the connection using jdbc?

1088