Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re^4: reordering a stack with little effort

by simonm (Vicar)
on Mar 11, 2005 at 15:50 UTC ( [id://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?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (5)
As of 2024-03-29 15:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found