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...


How to find that, a row is updated or not?

Answers were Sorted based on User's Feedback



How to find that, a row is updated or not?..

Answer / dipesh

when u run executeupdate() it return int if 1 return then
row updated oyherwise not.

Is This Answer Correct ?    3 Yes 0 No

How to find that, a row is updated or not?..

Answer / bln

executeUpdate() method returns an int value. This int
value is no of rows updated by the given query. If no rows
update, then it returns zero.

Is This Answer Correct ?    3 Yes 0 No

Post New Answer

More JDBC Interview Questions

What is preparedstatement in jdbc?

0 Answers  


What is the difference between setmaxrows(int) and setfetchsize(int)?

0 Answers  


How do I stop nullpointerexception?

0 Answers  


What are the classes and methods used for sending sql statements to database?

0 Answers  


Are there any ODBC drivers that do not work with the JDBC- ODBC Bridge?

2 Answers  


How can a java objects be stored in database?

3 Answers   IBM,


password, is stored in as plain text. What can I do to protect my passwords?

0 Answers  


What is an escape syntax?

0 Answers  


What are the 4 types of jdbc drivers?

0 Answers  


What is JDBC and ODBC and what are the differences between them?

11 Answers   Idbi Bank, Infosys, Infoview, TCS,


How can we execute stored procedures using callablestatement?

0 Answers  


What is ojdbc?

0 Answers  


Categories