1sql
SELECT 'alter table '|| t.table_name||' disable constraint '||t.constraint_name||';' FROM user_constraints t WHERE t.constraint_type = 'R';
2code
SELECT 'ALTER TABLE '|| table_name || ' ENABLE CONSTRAINTS ' || t.constraint_name ||';' FROM user_constraints t WHERE t.constraint_type = 'R' ;
3table
ALTER TABLE TBL_NAME DISABLE CONSTRAINTS FK_TBL_ID;
4class
ALTER TABLE TBL_NAME ENABLE CONSTRAINTS FK_TBL_ID;
5import
ALTER TABLE TBL_NAME ENABLE ALL TRIGGERS;
6im
ALTER TABLE TBL_NAME DISABLE ALL TRIGGERS;
7tab
INSERT INTO tbl_import SELECT * FROM tbl_export;
8di
GRANT SELECT ON tbl_export TO schema_out;