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 difference between excute query ()and execute update
()?

Answer Posted / gambhir

executeQuery() is used to perform DDL operation like
(create,alter) while executeUpdate() is used to perform DML
operation like (insert/update/delete).

Is This Answer Correct ?    6 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we have any code between try and catch blocks?

988


How to convert string to char and vice versa?

1002


Can we write method inside a method in java?

988


How many bits is a string?

992


What is one third plus one third as a fraction?

932


What is private protected in java?

1050


Why destructor is not used in java?

972


What is unmodifiable collection in java?

922


how do I create a runnable with inheritance? : Java thread

980


How do you calculate roots in java?

1085


What is "this" keyword in java? Explain

1098


How do you decide when to use arraylist and linkedlist?

991


What are aggregate functions explain with examples?

1061


Differentiate between stringbuffer and stringbuilder in java.

1023


Why are the destructors for base class and derived class called in reverse order when the program exits

2204