ORA-32031: illegal reference of a query name in WITH clause

Answers were Sorted based on User's Feedback



ORA-32031: illegal reference of a query name in WITH clause..

Answer / slapper

Yeah, that was helpful. Whoever wrote this should be
slapped. If you're not going to be helpful, then don't
post. Some possible areas to explore are:

1. Are you running Oracle 11g
2. Do you have the anchor and recursive sections in the
right order? Anchor first, recursive later.
3. If you aren't trying to do recursion, simply avoid
using the With cursor name in the same Select block

Is This Answer Correct ?    0 Yes 1 No

ORA-32031: illegal reference of a query name in WITH clause..

Answer / guest

Cause: forward or recursive reference of a query name in
WITH clause is not allowed.

Action: Correct query statement, then retry.

Please add more information about this Error

Is This Answer Correct ?    1 Yes 6 No

Post New Answer

More Oracle Errors Interview Questions

ORA-27365: job has been notified to stop, but failed to do so immediately

1 Answers  


LSX-00245: invalid ID "~S"

1 Answers  


SQL*Loader-00926: OCI error while string for table string

1 Answers  


ORA-29251: Index1 is greater than Index2 in call to dbms_sql.bind_array

1 Answers  


ORA-16165: LGWR failed to hear from network server

1 Answers  


UDE-00013: internal expdp error.

1 Answers  


ORA-12527: TNS:listener: all instances are in restricted mode or blocking new connections

1 Answers  


ORA-39727: COMPATIBLE must be set to 10.0.0.0.0 or higher

1 Answers  


ORA-38716: Must supply an integer for the TYPE option.

1 Answers  


ORA-01569: data file too small for system dictionary tables

1 Answers  


PLS-00524: The parameter type in an ORDER method must be the containing object type.

1 Answers  


PLS-00227: subprogram 'in' formal string is not yet denotable

1 Answers  


Categories