解除oracle數據庫中全部外鍵約束SQL語句

begin   for item in (select * from user_constraints a where a.constraint_type = 'R') loop   execute immediate 'alter table ' || item.table_name || ' disable constraint ' || item.constraint_name;   end
相關文章
相關標籤/搜索