首页 > 技术文章 > 修改字段默认值

7q4w1e 2018-08-28 15:00 原文

Orcal
alter table 表名 modify 字段名 default 默认值;
ALTER TABLE TAB_ITS_CAPLOG_ALARM MODIFY I_FLAG1 DEFAULT 0;

Mysql
alter table TRAFFIC_EVENT_INFO add column WFSCZT int DEFAULT 0;



推荐阅读