摘要: flashback table 表名 to before drop; 清理删除表的残留文件(清理回收站之后无法还原) purge recyclebin; 表的约束 非空约束 not null 主键约束 primary key 唯一约束 unique 外键约束 foreign key 检查约束 che 阅读全文
posted @ 2020-10-21 18:01 年少而为 阅读(68) 评论(0) 推荐(0) 编辑
摘要: 1.重命名 alter table 原表名 rename to 新表名 2.修改列名 alter table 表名 rename column 原列名 to 新列名 3.添加字段 alter table 表名 add (列名 数据类型) 4.删除字段 alter table 表名 drop colu 阅读全文
posted @ 2020-10-21 16:45 年少而为 阅读(74) 评论(0) 推荐(0) 编辑