摘要:
1.检查哪些表的外键引用了要删除的表的唯一/主键. select A.* from user_constraints A, user_constraints B WHERE b.table_name = 'MYTEST' and a.constraint_type = 'R' and a.r_constraint_name = b.constraint_name;2.生成所有引用要删除表的外键的创建语句. select 'select dbms_metadata.get_ddl(''REF_CONSTRAINT'', 阅读全文
posted @ 2013-03-04 09:29
viviVIVIviviViVi
阅读(15263)
评论(0)
推荐(0)

浙公网安备 33010602011771号