MINI
C:
/
Quest Software
/
Toad for Oracle 11.5
/
ClientFiles
/
ScriptMgr
/
Schema Objects
/
Upload File:
files >> C:/Quest Software/Toad for Oracle 11.5/ClientFiles/ScriptMgr/Schema Objects/fk_on.sql
set echo off set heading off set feedback off set linesize 130 prompt prompt Alter All Foreign Keys Enabled for Connected User prompt set term off spool fk_on.tmp select 'set echo on' from dual; select 'set feedback on' from dual; select 'alter table '||owner||'.'||table_name||' enable constraint '||constraint_name||';' from user_constraints where constraint_type = 'R' and status != 'ENABLED'; spool off set term on @fk_on.tmp
Copyright ©2021 || Defacer Indonesia