Created
April 18, 2014 18:10
-
-
Save d-simon/11057071 to your computer and use it in GitHub Desktop.
Alter table add multiple columns http://stackoverflow.com/questions/17541312/alter-table-add-multiple-columns-after-column1/17541485#17541485
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ALTER TABLE users | |
ADD COLUMN `count` SMALLINT(6) NOT NULL AFTER `lastname`, | |
ADD COLUMN `log` VARCHAR(12) NOT NULL AFTER `count`, | |
ADD COLUMN `status` INT(10) UNSIGNED NOT NULL AFTER `log`; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment