alert table 表名 add column 列名
alter table 表名 drop column 列名
eg:
alter table TPointManage add AddPointsReason number(8)
alter table textattrdetail drop column AddPointsReason
需要注意的一点,如果要修改的表,不是当前的用户的表,那么就需要添加上用户的名称。以及有修改此表的权限。
最后
以上就是殷勤水杯最近收集整理的关于oracle数据库添加或删除一列的sql语句的全部内容,更多相关oracle数据库添加或删除一列内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复