Skip to content Skip to sidebar Skip to footer

Oracle To Derby - Connectby And Start With Equivalent In Derby

The following Query1 is fine with Oracle. I want the same functionality to be carried out in Derby. I got the Query2, as one of the suggestion to be followed here. But still that i

Solution 1:

Currently, derby does not support recursive queries, see https://issues.apache.org/jira/browse/DERBY-11 (openened in 2004, last comment in 2014). So unfortunately you cannot do this in a single query, you have to write some kind of tree traversal loop yourself.


Post a Comment for "Oracle To Derby - Connectby And Start With Equivalent In Derby"