更新时间:2023-01-30 09:57:28
使用 ALTER TABLE 来更改或修改 默认列的值.检查此链接 ALTER TABLE SYNTAX (更改表语法)
Use ALTER TABLE to CHANGE or MODIFY the DEFAULT value of column. Check this link ALTER TABLE SYNTAX
ALTER TABLE `tableName` CHANGE `columnName` `columnName` DATE DEFAULT '0000-00-00';
ALTER TABLE `tableName` MODIFY `columnName` DATE DEFAULT '0000-00-00';