Dependent object processing for triggers

Methods, systems and articles of manufacture are provided for setting a state of triggers between operative and inoperative. In an operative state the trigger may be called during triggering I/O operations such as Insert, Update and Delete. The inoperative state indicates that the system has detecte...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: PASSE KATHY LYNN, TRIEBENBACH JONATHAN LEE, BRETTIN KEVIN ROBERT, NYLAND RITCHIE LEE, ANDERSON MARK JOHN, BRUHNKE RUSSELL EDWARD, VENZ MICHAEL ALAN, THEUER MARK WILLIAM, ROMANO SUSAN LIISA, GILBERTSON KYLE ERIC, SAXMAN RENEE KRISTIN, PARROTT RICHARD DONALD, VOLD JANE ANN, ROLFE RANDY KEITH, STEINBRINK KATHRYN ROSE
Format: Patent
Sprache:eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:Methods, systems and articles of manufacture are provided for setting a state of triggers between operative and inoperative. In an operative state the trigger may be called during triggering I/O operations such as Insert, Update and Delete. The inoperative state indicates that the system has detected a condition requiring user intervention. In a particular embodiment, a database management system (DBMS) will analyze the function being performed on a table (such as a rename of the table) and with dependent object data, the DBMS will determine if the trigger is self-referencing. If so, the trigger made inoperative. Making the trigger inoperative and requiring user intervention prevents the system from potentially producing undesired results. In another embodiment, a determination of dependency is made upon receiving a database command to affect an object. According to the type of command, the object and its dependents are either affected or unaffected.