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 loop;
end;
/