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

What is jdbc template?

906


What are the conditions applies to varchar variable, when using in procedures?

2083


What is preparedstatement in jdbc?

903


What is the benefit of having jdbcrowset implementation?

884


What is database deadlock ? How can we avoid them?

984


What is jdbc odbc bridge in java?

1003


How can you make the connection using jdbc?

984


What is jdbc and why is it required?

879


How can we store and retrieve images from the database?

900


What does jdbc setmaxrows method do?

903


What is odbc. how is it related to sql cli?

979


How can I get information about foreign keys used in a table?

908


Why “no suitable driver” error occurs?

1010


Differentiate between type_scroll_insensitive and type_scroll_sensitive.

882


How does jdbc connect to database?

829