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

Is there another way of dealing with the result set that could execute faster?

1003


How a database driver can be loaded with jdbc 4.0 / java 6?

936


What is the feature of jdbc v4?

1137


What is a jdbc connection string?

932


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

966


How many ways can you update a result set?

1014


What is a lock in jdbc?

949


Why do I get UnsatisfiedLinkError when I try to use my JDBC driver?

1021


What is jdbc and jpa?

985


Jdbc-odbc bridge is multi-threaded or not?

956


What do you mean by batch processing in jdbc?

1006


What is url in jdbc connection?

945


How many types of resultset are there in jdbc?

964


Why is odbc needed?

906


what is the meaning of following code snippets Class c=class.forName(driverClassName); Driver d=(driver)c.newInstance();

5028