OCI-01405
The fetched column returned a NULL value.
Cause
A query returned a row containing a NULL value for one of the selected columns, but the program variable associated with the column by the define call (the define variable) did not include an indicator variable. The define variable buffer in the program remained unchanged.
Action
To resolve the issue, perform any one of the following:
- Associate an indicator variable with all define variables to record the presence of the NULL value. This technique permits your program to take a specific action if a NULL value is returned.
- Use the NVL function to convert the retrieved NULL to another value, such as zero or blank. This is the simplest solution.
- Revise the query to eliminate inclusion of columns that
/ might contain a NULL value.