Subject | Re: [firebird-support] Sort hierarchical data |
---|---|
Author | Walter R. Ojeda Valiente |
Post date | 2015-10-30T15:55:38Z |
If you can read Spanish, there are several articles about that topic:
On Wed, Oct 21, 2015 at 6:37 AM, Josef.Gschwendtner@... [firebird-support] <firebird-support@yahoogroups.com> wrote:Hi,
I have a table with hierarchical
data.There is a numeric sortfield where the user sets the sort-order of the children of a particular parent (values from 1 to n für each parent).
How can I write a recursive query which selects the whole tree and honors these sortnumbers.
TIA,
Josef