alter table table1 add (F1 CHAR(1) default 'O'); -- 如果是大表, 很耗时, 会将之前的数据此字段全部赋值 ==> alter table table1 add (F1 CHAR(1)); alter table table1 modify F1 default 'O';
alter table table1 add (F1 CHAR(1) default 'O'); -- 如果是大表, 很耗时, 会将之前的数据此字段全部赋值 ==> alter table table1 add (F1 CHAR(1)); alter table table1 modify F1 default 'O';