Originally posted by Mandy Smith:
I have a sql query, based on whether it returned "0" rows or many rows i wan't to do different operations. How to check for whether it returned 0 rows or many rows. If i do check rows.next() then it throws me SQLException saying "ResultSet has no more data". How to check the Resultset under such situations?
Could anyone please help me clarify this.
Appreciate your help!
Originally posted by Jamie Robertson:
Adam, just curious what SQLException was being thrown in your code???