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 / boomiraj.p

executeUpdate() : is used to update the data using "insert,update and delete" statements.Send the data from fron t end to back end.

executeQuery() : used to select the data using "select" statement.Retrieve the data from back end to front end.

Is This Answer Correct ?    6 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can I determine where a given table is referenced via foreign keys?

959


Why do I have to reaccess the database for Array, Blob, and Clob data?

1009


What is the meaning of “dirty read” in the database?

989


What are the advantages of collection pools?

980


What is the meaning of batch updates?

1040


What do you understand by jdbc driver and explain its types?

887


Once I have the Java 2 SDK, Standard Edition, from Sun, what else do I need to connect to a database?

957


How does JDBC API helps us in achieving loose coupling between Java Program and JDBC Drivers API?

1030


What are the advantages of using preparedstatement over statement?

947


Does jdbc use odbc?

948


Does JDBC support stored procedures?

942


How can we disable a constraint ?

963


What are the different types of resultset?

900


What are database warnings in jdbc and how can we handle database warnings in jdbc?

953


How can you retrieve data from the resultset using jdbc?

1002