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

execute() - will do the querying the database & also the
update,insert,delete on the database.

executeUpdate() - only the update,insert,delete on the
database.

executeQuery() - only the querying the database.

Is This Answer Correct ?    80 Yes 23 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How many ways can you update a result set?

967


Discuss the significances of jdbc.

878


Is jdbc a web technology?

853


What is database connection pooling? Advantages of using a connection pool?

1010


What are devices?

906


What is JDBC ResultSet?

1072


What is metadata in programming?

950


What are the main components of JDBC ?

1009


Which jdbc drivers will run your program?

878


What are the common tasks of JDBC?

941


What is the execute method in java?

953


What is layer in communication?

814


How can you retrieve data from the resultset using jdbc?

1000


What port does jdbc use?

926


How do java applications access the database using jdbc?

974