Subject Re: [firebird-support] Sort hierarchical data
Author Walter R. Ojeda Valiente

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