增加字段语法:alter table 表名 add (字段名 字段类型 默认值 是否为空);
例:alter table corpInfo add (createDate null);
例:alter table corpInfo add (createDate varchar2(20));
修改字段的语法:alter table 表名 modify (字段名 字段类型 默认值 是否为空);
例:alter table corpInfo modify (createDate not null);
删除字段的语法:alter table 表名 drop column 字段名;
例:alter table corpInfo drop column createDate ;
字段的重命名:alter table 表名 rename column 列名 to 新列名 (其中:column是关键字)
例:alter table corpInfo rename column createDate to endDate;
表的重命名:alter table 表名 rename to 新表名
例:alter table corpInfo rename to corpInfo_Copy ;