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 the advantage of namedparameterjdbctemplate?

911


What is database deadlock ?

1064


What is odbc and jdbc in dbms?

908


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

900


What are the different types of resultset?

895


Write a program JDBCcode forfetching student database with SQL.

1064


Describe the steps needed to execute a sql query using jdbc.

916


What are the three basic components of the odbc architecture?

865


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

909


What is SQL Warning? How to retrieve SQL warnings in the JDBC program?

985


What is jdbc and its advantages?

973


What are the jdbc api components?

1091


How to connect multiple database in jdbc?

999


How can we execute stored procedures using callablestatement?

883


What is the use of callablestatement? Name the method, which is used to prepare a callablestatement.

834