Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

mysql workbench change default value

--ALTER TABLE table_name 
--CHANGE COLUMN column_name column_name data_type DEFAULT default_value;

ALTER TABLE customers CHANGE COLUMN first_name first_name VARCHAR(255) DEFAULT NULL;
 
PREVIOUS NEXT
Tagged: #mysql #workbench #change #default
ADD COMMENT
Topic
Name
6+5 =