oracal的列操作

来源:互联网 发布:一直正在连接tor网络 编辑:程序博客网 时间:2024/05/22 05:31

--oracal修改列名

alter table 表名 rename column 现列名 to 新列名;


--orcal添加列

alter table tablename add (列名 数据类型 [默认值][null/not null],….)

--orcal删除列

alter table 表名 drop column 列名