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: enabling/ disabling constraints/ triggers

RE: enabling/ disabling constraints/ triggers

From: Gabriel Galanternik <ggalanterni_at_tesis-oys.com.ar>
Date: Tue, 23 Jan 2001 14:32:48 -0300
Message-Id: <10750.127296@fatcity.com>


to disable:
alter trigger TRIGGER_NAME disable;

to enable:
alter trigger TRIGGER_NAME disable;

I don't know lattest versions of db, but I think there's no way to disable all constraints by one sentence

alter table TABLE NAME disable constraint CONSTRAINT NAME;

HTH
gabriel galanternik

I have never done this before .. learning DBA.. :)

thanks!
Bruce

--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author:
  INET: bruce.taneja_at_mcd.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).
Received on Tue Jan 23 2001 - 11:32:48 CST

Original text of this message

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