当前位置:Gxlcms > 数据库问题 > oracle暂停启约束

oracle暂停启约束

时间:2021-07-01 10:21:17 帮助过:3人阅读

暂停约束

select ‘alter table ‘||table_name||‘ disable constraint ‘||constraint_name||‘;‘ from user_constraints where constraint_type=‘R‘;

启用约束
select ‘alter table ‘||table_name||‘ enable constraint ‘||constraint_name||‘;‘ from user_constraints where constraint_type=‘R‘;

 

 

执行所有查询出来的sql语句

oracle暂停启约束

标签:

人气教程排行