ORA-01007
Reference to a variable not in SELECT clause.
Cause
A reference was made to a variable not listed in the SELECT clause of the statement.
Action
Modify the SELECT clause to include the reference, or remove the reference from the call.