Oracle Consulting Oracle Training Oracle Support Development
Home
Catalog
Oracle Books
SQL Server Books
IT Books
Job Interview Books
eBooks
Rampant Horse Books
911 Series
Pedagogue Books

Oracle Software
image
Write for Rampant
Publish with Rampant
Rampant News
Rampant Authors
Rampant Staff
 Phone
 800-766-1884
Oracle News
Oracle Forum
Oracle Tips
Articles by our Authors
Press Releases
SQL Server Books
image
image

Oracle 11g Books

Oracle tuning

Oracle training

Oracle support

Remote Oracle

STATSPACK Viewer

Privacy Policy

 

   
 

ss

Oracle Tips by Burleson 

LOB Trigger Limitations  

You can reference object, varray, nested table, LOB, and REF columns inside triggers, but you cannot modify their values. Triggers based on actions against these types of attributes can be created.

Triggers and Mutating Tables

One recurring problem with triggers is when one tries to reference the table for which it is fired (for example, to check a date range). This self-referencing results in “ORA-04091 table ‘table_name’ is mutating, trigger/ function may not see it.” Usually, this situation can be remedied in one of three ways: by using a temporary PL/SQL table to hold values, by using a temporary table to hold values, or by using a view. The key here is to remove the values to be selected against from the table before you attempt the operation, and then refer to this remote source for any value checking. It might also be possible to create an index that any selects will reference. Any solution that moves the data from the table to a secondary source that can then be used in place of the table itself should correct this problem.

See Code Depot


www.oracle-script.com

Linux Oracle commands syntax poster

ION Oracle tuning software

Oracle data dictionary reference poster



Oracle Forum

BC Oracle consulting support training

BC remote Oracle DBA   

 

   

 Copyright © 1996 -2017 by Burleson. All rights reserved.


Oracle® is the registered trademark of Oracle Corporation. SQL Server® is the registered trademark of Microsoft Corporation. 
Many of the designations used by computer vendors to distinguish their products are claimed as Trademarks