Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Oracle Miscellaneous > Re: Trigger Inv...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 2 Topic 6961 of 7280
Post > Topic >>

Re: Trigger Invalid State

by Mark D Powell <Mark.Powell@[EMAIL PROTECTED] > Jun 18, 2008 at 06:15 PM

On Jun 18, 8:49=A0pm, rzaleski <rzale...@[EMAIL PROTECTED]
> wrote:
> What would cause a trigger to have an invalid state? =A0Do triggers
> become invalid if you alter a table (but do not add/drop any columns
> that trigger references)? =A0Do triggers become invalid if you add an
> index to a table?

For table triggers adding an index to a table referenced by the
trigger has no effect on the trigger state.  Alteringa table
referenced by the trigger on the other hand is likely to require
Oracle to re-compile the trigger to ensure the code is valid prior to
11g and Oracle's more advanced dependency tracking.

Check DBA_DEPENDENCIES before altering any table to see what dependent
objects are going to be affected.

Loss of object privileges can cause a trigger to become INVALID when
the trigger code references tables owned by a different user than the
trigger owner.

HTH -- Mark D Powell --
 




 2 Posts in Topic:
Trigger Invalid State
rzaleski <rzaleski@[EM  2008-06-18 17:49:47 
Re: Trigger Invalid State
Mark D Powell <Mark.Po  2008-06-18 18:15:56 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Wed Dec 3 0:07:34 CST 2008.