checking for null in recordset
96429Dec 6 2004 — edited Dec 21 2004Hi,
I'm trying to determine if a field contains a null from a recordset declared in Java.
My code is: (rs is the recordset object)
if (rs.getString(2).equalsIgnoreCase("null"))
--other stuff
It dies on this statement when testing for null, which is obviously wrong.
I just can't find the syntax to test for nulls.
Any help would be appreciated.
Regards,
Med