Site icon IT Tutorial

ORA-01007: variable not in select list

I got ” ORA-01007: variable not in select list ”  error in Oracle database.

 

ORA-01007: variable not in select list

 

Details of error are as follows.

ORA-01007 variable not in select list

Cause: A reference was made to a variable not listed in the SELECT clause. In OCI, this can 
occur if the number passed for the position parameter is less than one or greater than the 
number of variables in the SELECT clause in any of the following calls: DESCRIBE, NAME, or 
DEFINE. In SQL*Forms or SQL*Report, specifying more variables in an INTO clause than in the
 SELECT clause also causes this error.

Action: Determine which of the problems listed caused the problem and take appropriate action.


 

 

variable not in select list

This ORA-01007 error is related with the reference was made to a variable not listed in the SELECT clause. In OCI, this can occur if the number passed for the position parameter is less than one or greater than the number of variables in the SELECT clause in any of the following calls: DESCRIBE, NAME, or DEFINE. In SQL*Forms or  SQL*Report, specifying more variables in an INTO clause than in the SELECT clause also causes this error.

 

Determine which of the problems listed caused the problem and take appropriate action.

 

Check the number of variables is greater ( SELECT clause ) than the number of passed variables number passed in the position parameter, fix these parameters.

 


 

 

Do you want to learn Oracle Database for Beginners, then read the following articles.

Oracle Tutorial | Oracle Database Tutorials for Beginners ( Junior Oracle DBA )

 

Exit mobile version