发明名称 |
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 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.
|
申请公布号 |
US6820080(B2) |
申请公布日期 |
2004.11.16 |
申请号 |
US20010817602 |
申请日期 |
2001.03.26 |
申请人 |
INTERNATIONAL BUSINESS MACHINES CORPORATION |
发明人 |
ANDERSON MARK JOHN;BRETTIN KEVIN ROBERT;BRUHNKE RUSSELL EDWARD;GILBERTSON KYLE ERIC;NYLAND RITCHIE LEE;PARROTT RICHARD DONALD;PASSE KATHY LYNN;ROLFE RANDY KEITH;ROMANO SUSAN LIISA;SAXMAN RENEE KRISTIN;STEINBRINK KATHRYN ROSE;THEUER MARK WILLIAM;TRIEBENBACH JONATHAN LEE;VENZ MICHAEL ALAN;VOLD JANE ANN |
分类号 |
G06F7/00;G06F17/30;(IPC1-7):G06F17/30 |
主分类号 |
G06F7/00 |
代理机构 |
|
代理人 |
|
主权项 |
|
地址 |
|