Hie . I'm a newbie and really stuck. please help!
From my understanding , a DB2 column that is null doesnt have any values in it , hence empty .
So when i do a SELECT statement which returns a result set such as below :
import com.ibm.db.SelectResult;
SelectResult objResult;
RUN select statement ; which returns objResult
objResult.getColumnValueToString(COLUMN NAME)
returns a String object.
COLUMN NAME is a nullable column in the database and may have null entries or "empty" entries.
For the rows where the column value is null (empty) it doesnt return anything , be it an empty string such as " " or null. Its just plain empty.
I'm figuring out of a condition that will flag out if its empty due to the non-existent of value in the current column but to no avail .
I dont know if all this makes sense. Any takers out there ?