Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: Recreating constraints

Re: Recreating constraints

From: Thomas Day <tomday2_at_gmail.com>
Date: Tue, 16 Aug 2005 11:47:34 -0400
Message-ID: <a8c5045905081608471d89bcd9@mail.gmail.com>


The script below will do a good job of getting the constraints, except for foreign key constraints (type 'R'). Spool the output from dba_constraints to get the name and owner.

PS - This script also doesn't do triggers well.

UNDEFINE 1 undefine 2

undefine 3

--
http://www.freelists.org/webpage/oracle-l
Received on Tue Aug 16 2005 - 10:49:31 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US