Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

excuteupdate

 
phani ravinutala
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is excuteupdate returns 0 or 1 right?
it never returns -1 records?

what about excute query returns?

Just to confirm it?

Thanks
 
Karan Johar
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
think executeQuery returns ResultSet
and executeUpdate returns number of records updated.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic