流易

日日行,不怕千万里;常常做,不怕千万事。(https://github.com/poazy)

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理
select 'alter table ' || t.table_name || ' disable constraint ' || t.constraint_name || ';'
from DBA_CONSTRAINTS t WHERE t.CONSTRAINT_TYPE = 'R' and OWNER = 'SWT_ZCPT'
order by t.TABLE_NAME;

 

posted on 2017-09-20 14:00  流易  阅读(265)  评论(0编辑  收藏  举报