Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^4: reordering a stack with little effort

by simonm (Vicar)
on Mar 11, 2005 at 15:50 UTC ( #438692=note: print w/replies, xml ) Need Help??


in reply to Re^3: reordering a stack with little effort
in thread reordering a stack with little effort

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.

  • Comment on Re^4: reordering a stack with little effort

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://438692]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (2)
As of 2022-05-21 05:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (76 votes). Check out past polls.

    Notices?