How does Oracle identify "loops" in a hierarchical query?
If this is documented, it is not very good. In any case, I think we found the correct and complete (and, indeed, quite simple) answer in the OTN discussion: https://community.oracle.com/thread/3999985
: , Oracle , PRIOR connect by, , , .
" 5 <= 100", 100 . , "" , PRIOR CONNECT BY, .
, connect by [other conditions here] and prior sys_guid() is not null. sys_guid() null; connect by PRIOR, , ( !), " ", level , "". (- "", , Oracle .)