文档解释
ORA-32487: unsupported join in recursive WITH query
Cause: The recursive component of a recursive WITH clause element contained one of the following:
– A LEFT OUTER join where the right side was the recursive query name.
– A RIGHT OUTER join where the left side was the recursive query name.
– A FULL OUTER join involving the recursive query name.
Action: Rewrite the query without the unsupported join operation.
ORA-32487: unsupported join in recursive WITH query 错误表明在递归WITH子句中使用的表连接不受支持。此错误可能出现在使用LEFT OUTER JOIN,FULL OUTER JOIN和RIGHT OUTER JOIN的表之间建立联系的情况下。
官方解释
常见案例
一般处理方法及步骤
1.确保你的表连接是正确的。
2.检查使用的连接(LEFT OUTER JOIN)是是官方支持的(In Oracle Database,JOIN的只有INNER JOIN,LEFT OUTER JOIN,RIGHT OUTER JOIN及FULL OUTER JOIN)
3.检查with语句是否正确。
4.如果您有带有连接的查询,您可以考虑将其分解为两个查询。
5.在每种查询中为表(Table1,Table2)分别指定alias。
6.将这两个查询的结果放入一个子查询中,并将连接用作子查询中的条件。