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 meaning of connection?

973


How will you perform truncation using JDBC?

1008


How can I create a custom RowSetMetaData object from scratch?

1006


What is a JDBC 2.0 DataSource?

975


Is jdbc an api?

1086


What types of DataSource objects are specified in the Optional Package?

1011


What is JDBC ResultSet?

1146


Why is jdbc used?

945


How can you load the drivers?

971


What is while rs next ())?

947


What is the execute method in java?

1015


What class.forname will do while loading drivers of jdbc?

941


Define preparedstatement.

990


How to use JDBC to connect Microsoft Access?

1186


What are the types of statements in jdbc?

986