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 / bhoopesh alladi

execute()- is for invoking the functions or stored
procedures of SQL by the CallableStatement.

executeUpdata()- is for the operations such as insert,
update or delete on SQL by PreparedStatement, Statement.

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

Is This Answer Correct ?    69 Yes 21 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is meant by jdbc?

919


What is jdbc vs odbc?

940


How does jdbc work?

878


Discuss the procedure of retrieving warnings?

976


What is the full form of jdbc and what is its purpose?

993


Can we have foreign key reference to a non primary key column ?

973


What are the common JDBC problems that you got and how do you solved them?

2432


List some new features available in jdbc 4.0?

902


What are the new features available in jdbc 4.0?

951


How do I disallow NULL values in a table?

985


What is jdbc odbc connection?

972


How do you insert images into database using jdbc?

1067


What protocol does jdbc use?

971


What is odbc and jdbc?

998


How to know howmuch data is truncated?

2365