随笔分类 - Oracle
摘要:flashback table 表名 to before drop; 清理删除表的残留文件(清理回收站之后无法还原) purge recyclebin; 表的约束 非空约束 not null 主键约束 primary key 唯一约束 unique 外键约束 foreign key 检查约束 che
阅读全文
摘要:1.重命名 alter table 原表名 rename to 新表名 2.修改列名 alter table 表名 rename column 原列名 to 新列名 3.添加字段 alter table 表名 add (列名 数据类型) 4.删除字段 alter table 表名 drop colu
阅读全文

浙公网安备 33010602011771号