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

executeQuery() method used for only selecting the records
and its return value is in the form of ResultSet Object.

executeUpdate() method used for DDL and DML commands and
its returns the int value.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between object oriented programming language and object based programming language?

1014


In case of inheritance what is the execution order of constructor and destructor?

1134


which one is more efficient int x; 1. if(x==null) 2.if(null==x) state which one either 1 or 2?

11199


how to create multithreaded program? Explain different ways of using thread? : Java thread

980


Difference between default and protected access specifiers?

1121


Is void a return type?

961


What do the thread?class methods run() and start() do?

1037


What is a treemap in java?

1009


What is locale in java?

1018


What about main thread in java?

1118


What is the use of a copy constructor?

988


How do you replace a string in java?

1001


What is boolean query?

982


In a program, initializing an array of 100 KB is throwing an out of memory exception while there is 100 MB of memory available. Why?

1052


How can you generate random numbers in java?

1047