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 many types of resultset are there in jdbc?

924


Which of the attributes in the monitoring tab for a jdbc connection pool in the administrative console tell us how many clients are currently waiting for a connection?

868


What is the latest version of JDBC? What are the new features added in that?

950


What is the purpose of jdbc?

992


Is java a database?

886


What happens if connection is not closed in jdbc?

915


What is two-phase commit in the database?

989


What is jdbc stand for?

880


Where can I find info, frameworks and example source for writing a JDBC driver?

886


Does the JDBC-ODBC Bridge work with Microsoft J++?

2270


What is a statement?

969


Explain creation of statement object with connection method create method with help of an example.

917


Name the types of jdbc drivers.

869


What is JDBC RowSet? What are different types of RowSet?

1034


Explain the locking system in jdbc & its types?

912