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