摘要:
oracle中查询、禁用、启用、删除表外键1.查询所有表的外键的:select table_name, constraint_name from user_constraints where constraint_type = 'R';2.禁用所有外键约束, 使用下面的sql生成对应sql脚本:select 'alter table ' || table_name || ' disable constraint ' || constraint_name || ';' from user_constraints where cons 阅读全文
posted @ 2012-11-26 11:30
莫问奴归处
阅读(9718)
评论(0)
推荐(0)

浙公网安备 33010602011771号