禁用外键

select 'alter table '|| t.table_name||' disable constraint '||t.constraint_name||';'
from user_constraints t where t.constraint_type = 'R'
order by t.table_name

启用外键

select 'alter table '|| t.table_name ||' enable constraint '||t.constraint_name||';'
from user_constraints t where t.constraint_type = 'R'
order by t.table_name

最新文章

  1. spring IOC核心原理
  2. linux上安装php+gd扩展
  3. openSuSE DNS SERVER CONFIG
  4. (剑指Offer)面试题26:复杂链表的复制
  5. 解决PL/SQL Dev连接Oracle弹出空白提示框
  6. 第04讲- Android项目目录结构分析
  7. Effective C++ 18-23
  8. C++中内存泄漏的检测方法介绍
  9. c#之向ftp服务器传文件
  10. ios NSString拼接方法总结
  11. MySql按每日、每周、每月分组统计数据
  12. Sublime Text3 最常用快捷键
  13. F - Capture
  14. window.top.location.href 和 window.location.href 的区别
  15. Pycharm的相关设置和快捷键集合
  16. LVS负载均衡基础介绍及NET、DR模式配置
  17. PHP访问SQL Server驱动对应关系
  18. 基于Python使用Redis的一些想法和建议
  19. SQL简单操作
  20. Web api 访问HttpContext

热门文章

  1. 小爬爬5:重点回顾&&移动端数据爬取1
  2. spring的父子关系
  3. day5-python之面向过程编程
  4. @codeforces - 1205D@ Almost All
  5. git init之后,没有.git后缀的文件
  6. day5_python之hashlib模块
  7. 整理了一下 ThinkPHP 历史 (2019-07-01)
  8. [C#] 用ServiceStack读写redis的性能问题
  9. HTML静态网页---标签
  10. iptables一个包过滤防火墙实例