Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

mysql ALTER TABLE ADD COLUMN BOOLEAN AFTER DEFAULT "1";

ALTER TABLE `TABLE_NAME` ADD `NEW_COLUMN_NAME` BOOLEAN DEFAULT 1 NOT NULL AFTER `EXISTING_COLUMN_NAME`;
 
PREVIOUS NEXT
Tagged: #mysql #ALTER #TABLE #ADD #COLUMN #BOOLEAN #AFTER #DEFAULT
ADD COMMENT
Topic
Name
9+7 =