To disable a constraint:

alter table <table-name> disable constraint <constraint-name> ;

should do the trick.



Assuming you don't have any constraint violations, the following should
work just fine to enable the constraint:

alter table <table-name> enable constraint <constraint-name> ;



Kent



At 02:31 PM 11/26/01 -0800, you wrote:
>I need to disable some constraints to load table data for my DB conversion.
>I cannot find the syntax to do this.  I think it should be ALTER TABLE
>something.
>
>Thanks,
>
>Ken Janusz, CPIM 
>Database Conversion Lead 
>Sufficient System, Inc.  
>Minneapolis, MN
>
>-- 
>Please see the official ORACLE-L FAQ: http://www.orafaq.com
>-- 
>Author: Ken Janusz
>  INET: [EMAIL PROTECTED]
>
>Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
>San Diego, California        -- Public Internet access / Mailing Lists
>--------------------------------------------------------------------
>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.com
-- 
Author: Kent Wayson
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
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