oracle中新增或删除一个或多个列的sql语句 | 您所在的位置:网站首页 › oracle删除sql › oracle中新增或删除一个或多个列的sql语句 |
oracle中新增或删除一个或多个列的sql语句
增加一个列 alter table 表名 add (字段名 数据类型); 括号可加可不加 增加多个列 alter table 表名 add (字段名1 数据类型,字段名2 数据类型,……); 删除一列 alter table 表名 drop column 字段名; 删除多列 alter table 表名 drop column (字段名1,字段名2,……); 重新定义某列 alter table 表名 modify 字段名 数据类型; |
CopyRight 2018-2019 实验室设备网 版权所有 |