Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

add column first position mysql

ALTER TABLE office ADD COLUMN phone VARCHAR(200) DEFAULT '000' AFTER name;
ALTER TABLE office ADD COLUMN flag INT(1) FIRST;
ALTER TABLE office ADD COLUMN last_col INT(2)
Source by sqlfiddle.com #
 
PREVIOUS NEXT
Tagged: #add #column #position #mysql
ADD COMMENT
Topic
Name
4+5 =