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;