Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re^4: reordering a stack with little effortby simonm (Vicar) |
on Mar 11, 2005 at 15:50 UTC ( [id://438692]=note: print w/replies, xml ) | Need Help?? |
you would simply ORDER BY NEXT instead of ORDER BY QUESTION_NUM Sadly, no -- once you start rearranging the questions, the values in the "next" column need not be in ascending numerical order... I think you'll need to sort them in Perl rather than at the SQL DBMS.
In Section
Seekers of Perl Wisdom
|
|