Adsense Ad

Wednesday 24 May 2017

Oracle: ORA-01007 Error Message

ORA-01007 Error Message

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

Description

When you encounter an ORA-01007 error, the following error message will appear:
  • ORA-01007: variable not in select list

Cause

You tried to reference a variable that was not in the SELECT clause.

Resolution

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

Option #1

This error can occur in OCI when the value for the position parameter is not a value between 1 and the number of variables in the SELECT clause.

Option #2

This error can occur in SQL*Forms or SQL*Report when you specify more variables in the INTO clause than there are values in the SELECT clause.

No comments: