Triggers are disabled via ALTER TABLE...DISABLE TRIGGER... or ...DISABLE ALL TRIGGERS. It may well be that the refresh process issues such statements; reasons to do so might be to speed up the load process or if data populated by a trigger is already included in the data being loaded. If this is the case, any errors in the refresh process might cause the corresponding ENABLE statements not to be executed.
Even if a trigger's PL/SQL code becomes invalid due to change to an object on which it depends, AFAIK that wouldn't set it to disabled. --- "Smith, Ron L." <[EMAIL PROTECTED]> wrote: > We have a DW that gets refreshed each night. Many of the tables are > truncated. Several times during the nightly > processing dozens of triggers are becoming disabled. Can anyone tell > me > what causes a trigger to become disabled? > > Ron Smith > -- > Please see the official ORACLE-L FAQ: http://www.orafaq.com > -- > Author: Smith, Ron L. > 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). __________________________________________________ Do You Yahoo!? Sign up for SBC Yahoo! Dial - First Month Free http://sbc.yahoo.com -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Paul Baumgartel 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).
