Adsense Ad

Tuesday, 23 May 2017

Oracle: ORA-01405 Error Message

ORA-01405 Error Message

Learn the cause and how to resolve the ORA-01405 error message in Oracle.

Description

When you encounter an ORA-01405 error, the following error message will appear:
  • ORA-01405: fetched column value is NULL

Cause

You tried to execute a FETCH, but the INTO clause returned a NULL value.

Resolution

The option(s) to resolve this Oracle error are:

Option #1

Try using the NVL function to substitutes a value when a null value is encountered.

Option #2

Try re-writing your cursor so that no NULL values are returned.

No comments: