FlashDance
11-10-2011, 11:27 AM
I have a column called alphabet, with the fields B, A, C, D:
alphabet
--------
B
A
C
D
I am wanting to know how I can go about moving A up to where B is, so:
Alphabet
--------
A
B
C
D
There are other fields from other columns on this same line:
A | Active | Always
This procedure would be similar to:
ALTER TABLE (table) CHANGE COLUMN (column) (new column name) (type) AFTER (column);, but for a field instead of a column.
alphabet
--------
B
A
C
D
I am wanting to know how I can go about moving A up to where B is, so:
Alphabet
--------
A
B
C
D
There are other fields from other columns on this same line:
A | Active | Always
This procedure would be similar to:
ALTER TABLE (table) CHANGE COLUMN (column) (new column name) (type) AFTER (column);, but for a field instead of a column.