Top Notch Info About How To Check Result Set Is Null
Whenever you read the contents of a column of the resultset using the getter.
How to check result set is null. Can someone advise me on this. The next () method of the resultset interface moves the pointer of the current (resultset) object to the next row, from the current position. How to check if result set is null.
The wasnull () method of the resultset interface determines whether the last column read had a null value. 2 comments 1 solution 243 views last modified: I need to check if a value extracted from a result set is not null before using it.
Hi , i have a program which retrieves accountids for a particular employeeid.if there are no records for that employeeid or if no such employeeid exits , it should exit the. I have a get items after which i am testing to see if the result set was empty with the statement below which looks to be to be correct. Whenever you read the contents.
Is this correct way to check if result set is empty,. The wasnull() method of the resultset interface determines whether the last column read had a null value. The solution is in rewriting your stored procedure to handle the nulls.
Oct 4, 2005 7:36am edited oct 13, 2005 8:02am. How do you check for null in resultset?