What\'s the best way to update an \"order\" column?
Say I have an id column with 0 to 9, and order column from 0 to 9.
Currently, it\'s in the database as: 0 0,
You have to update each row by itself, there is no way to do a "map" update in sql.
(There are some tricks but they don't really apply/help here anyway.)