SQL In Order ?

Mu online season 21 - grand opening

Blimey

Dedicated Member
Dedicated Member
Jul 18, 2011
394
1
44
Hero Village
How can i make it put things in order using ID ? Really annoying trying to organise stuff atm lol
 

TheMightyOne

Golden Oldie
Golden Oldie
Jun 14, 2004
722
3
104
UnitedKingdom
This can't be done, you have to re-number everything. If your having trouble getting it to stay in order after adding new items, then I can tell you how to do that?
 
Upvote 0

Tai

HEAD CAPTAIN
Staff member
Administrator
May 11, 2003
14,769
3
3,342
495
United Kingdom
Wrong section again...we have a Help section you know

Unless it's directly and specifically to do with the ruby files and you need an answer from a coder, please use the mir 2 help section
 
Upvote 0

Blimey

Dedicated Member
Dedicated Member
Jul 18, 2011
394
1
44
Hero Village
Ok will do, sry.

Well i started with a fresh DB, but ive been copy n pasting items in. And they are all mixed up, so i want to renumber the IDs then they all go in order lol. Help!
 
Upvote 0

Lilcooldoode

LOMCN Developer
Developer
May 10, 2003
2,338
1
1,042
370
Yes
This can be done very easily btw:

After you have opened the item table:

1. Click the button to show the SQL Pane (Shows the script SQl used to display item rows)
sqly.png


2. At the end of the script add the following:
ORDER BY ID

(ID is column name for Ruby item DB)

3. Execute the script, job done.
sqlu.png
 
Upvote 0

Gezza

Golden Oldie
Golden Oldie
Sep 23, 2008
2,202
65
135
uk
This can be done very easily btw:

After you have opened the item table:

1. Click the button to show the SQL Pane (Shows the script SQl used to display item rows)
sqly.png


2. At the end of the script add the following:
ORDER BY ID

(ID is column name for Ruby item DB)

3. Execute the script, job done.
sqlu.png

wish i knew this years ago lol
 
Upvote 0