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

ResultSet object from executeUpdate()

 
Venkatesh Rajendran
Ranch Hand
Posts: 59
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear All,
Is it possible to get ResultSet object from executeUpdate().
It would be very useful if you could send me the information ASAP.
Thanking you in advance.
Regards,
Venkat
 
Mahesh Mamani
Ranch Hand
Posts: 110
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Venkat,
The executeUpdate() RETURNS "either the row count for INSERT, UPDATE or DELETE statements, or 0 for SQL statements that return nothing, that is for DDL statements"
So, u have to use executeQuery() only.
Mahesh
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic