alter table 改表(..)
truncate table 删表记录,保存表结构
drop table 删表(..)
create table 命令
create table [schema.]table(colunm datatype[default expr][,..] );
alter table 命令
修改 alter table<table name> modify(column definition...);
添加 alter table<table name> add(column definition..);
drop column 命令 从表中删去列
alter table vendor_master drop column tngst_no;从vendor_master表中删除tngst_no列.
alter table vendor_master set unused(tel_no); 将vendor_master表中的列tel_no标为未用列.
truncate table命令
truncate table vendor_master; 删表vendor_master中所有的记录,表释放空间.
truncate table vendor_master reuse storage; 删表vendor_master中所有的记录,不释放空间.
drop table命令 删除表(结构).