Oracle删除表时候有外键 不能删除
SELECT
A .constraint_name,
A .table_name,
b.constraint_name
FROM
user_constraints A,
user_constraints b
WHERE
A .constraint_type = 'R'
AND b.constraint_type = 'P'
AND A .r_constraint_name = b.constraint_name
AND A .constraint_name = UPPER (
'ACT_FK_VAR_PROCINST'
)
找到对应表 直接删除