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

What is a jdbc connection string?

939


How to achieve JDBC Connection Pooling using JDBC DataSource and JNDI in Apache Tomcat Server?

1024


I have the choice of manipulating database data using a byte[] or a java.sql.blob. Which has best performance?

933


What does executeupdate return in java?

1032


How can I instantiate and load a new CachedRowSet object from a non-JDBC source?

990


How to check jdbc driver version in websphere?

1094


List some new features available in jdbc 4.0?

912


How do I set properties for a JDBC driver and where are the properties stored?

966


What is CLOB and BLOB datatypes in JDBC?

1293


How to check jdbc driver version in sql server?

968


What are the methods which can verify the cursor particular position?

1019


How can you make the connection using jdbc?

1046


Can resultset be null in java?

928


What are the packages are used in jdbc?

1041


Does jdbc use ssl?

935