MySQL
MySQL
Out of context: Reply #5
- Started
- Last post
- 11 Responses
- industry730
You need a DEFAULT Value since you are specifying NO NULL
ALTER TABLE `table_name` ADD `column_name` varchar(255) NOT NULL DEFAULT "default_value"
You need a DEFAULT Value since you are specifying NO NULL
ALTER TABLE `table_name` ADD `column_name` varchar(255) NOT NULL DEFAULT "default_value"