Ron,

SYS_ constraints are NOT NULL constraints.
They are also those constraints placed on tables by you that you have not
named.  This is why we should always name our constraints!

The Constraint_Type field is decoded as follows:

C = Check Constraint
P = Primary Key
R = Relational (Foreign Key) constraint
U = Unique Constraint

There are probably others documented in the Oracle docs someplace.

Hope this helps!

Tom Mercadante
Oracle Certified Professional


-----Original Message-----
Sent: Tuesday, March 11, 2003 11:50 AM
To: Multiple recipients of list ORACLE-L


I need to truncate and import data into several schemas.  The tables have
lots of constraints.  I can produce a script to disable and enable the
contriants but I would like to know more about the constraint_type field in
dba_constraints and what are all the SYS_ contraints?  Should I disable all
constraints for a schema before the import or only certain types?

Thanks!
Ron
If you are not the intended recipient of this e-mail message, any use,
distribution or copying of the message is prohibited.  Please let me know
immediately by return e-mail if you have received this message by mistake,
then delete the e-mail message. Thank you.
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Smith, Ron L.
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Mercadante, Thomas F
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

Reply via email to