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

executeUpdata()= is for the operations such as Insert,
update and delete on SQL by PreparedStatement or Statement.

executeQuery()= is for operation select of Sql by
PreparedStatement or Statement.

Is This Answer Correct ?    5 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why should we close database connections in java?

1146


What do you mean by odbc?

1027


What are the 4 types of jdbc drivers?

1017


How can I determine the isolation levels supported by my DBMS?

991


Which type of JDBC driver is the fastest one?

1090


Why do we need jdbc api?

980


Does jdbc use ssl?

933


What is the meaning of connection?

970


What is jdbc odbc bridge?

951


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

1026


Is uri the same as url?

902


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?

919


How vendor Naming registry supports JNDI?

2205


What is jdbc architecture?

1045


What is jdbc driver in java?

930