Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: Disabling Constraints
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: ken.janusz_at_sufsys.com
>
>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: ListGuru_at_fatcity.com (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: waysonkw_at_mail.milwaukee.k12.wi.us 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: ListGuru_at_fatcity.com (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).Received on Mon Nov 26 2001 - 17:18:19 CST
![]() |
![]() |