To *move* a column to a particular position:
ALTER TABLE `user` MODIFY COLUMN `permission` int(10) AFTER `password`
To *move* a column to the beginning:
ALTER TABLE `user` MODIFY COLUMN `permission` int(10) FIRST
To *move* a column to a particular position:
ALTER TABLE `user` MODIFY COLUMN `permission` int(10) AFTER `password`
To *move* a column to the beginning:
ALTER TABLE `user` MODIFY COLUMN `permission` int(10) FIRST
No comments yet.
RSS feed for comments on this post. TrackBack URL