1.不支持drop column
需要先復(fù)制表,然后刪除原表萤衰,修改表名
create table temp as select C1,C2 from AlarmDataTable where 1=1
drop table AlarmDataTable
alter table temp rename to AlarmDataTable
1.不支持drop column
需要先復(fù)制表,然后刪除原表萤衰,修改表名
create table temp as select C1,C2 from AlarmDataTable where 1=1
drop table AlarmDataTable
alter table temp rename to AlarmDataTable