Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

Mysql query add column with default string value

ALTER TABLE `table_name` ADD COLUMN `new_column_name` VARCHAR(255)  DEFAULT "DEFUALT_VALUE" AFTER `COLUMN_NAME`;
 
PREVIOUS NEXT
Tagged: #Mysql #query #add #column #default #string
ADD COMMENT
Topic
Name
6+8 =