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

executeUpdate() is for non selecting statements
executeQuery() is for selecting statements.

Is This Answer Correct ?    21 Yes 18 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can you create jdbc statements?

909


What do you mean by jdbc batch processing and what are the advantages of using jdbc batch processing?

938


Name the types of jdbc drivers.

858


What is jdbc odbc bridge in java?

1002


What is an encrypted internet connection?

875


Compare jdbc and odbc and how is jdbc required in this context.

869


What is “dirty read” in JDBC? Which isolation level prevents dirty read?

947


What are common JDBC Exceptions?

905


What is the use of jdbc?

938


Explain what should be done when a SQL exception is raised?

921


What is odbc and jdbc in dbms?

907


What does executeupdate return in jdbc?

918


How can I write to the log used by DriverManager and JDBC drivers?

946


What is the jdbc rowset?

942


How to invoke Oracle Stored Procedure with Database Objects as IN/OUT?

1010