In Oracle you can use CONNECT BY to do this:
SELECT id FROM thetable START WITH id = 1 CONNECT BY PRIOR next = id
In reply to Re^3: reordering a stack with little effort
by Crackers2
in thread reordering a stack with little effort
by punkish
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |