Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

mysql add boolean column

ALTER TABLE `TABLE_NAME` ADD `NEW_COLUMN_NAME` BOOLEAN DEFAULT 1 NOT NULL AFTER `EXISTING_COLUMN_NAME`;
 
PREVIOUS NEXT
Tagged: #mysql #add #boolean #column
ADD COMMENT
Topic
Name
2+1 =