发明名称 System, method and program product for generating triggers for a relational database
摘要 System, method and program product for generating a trigger program that updates an entry in a dependent column in a table in response to a request to update a corresponding entry in a parent column in the table. A trigger program template is provided. The trigger program template includes program steps which indicate a type of update to an entry in an unspecified parent column which triggers an update to a corresponding entry in an unspecified dependent column. The trigger program template also indicates a type of the unspecified dependent column to update upon the update to the entry in the unspecified parent column. The table is automatically scanned to identify one or more dependent columns of the type. In response to identification of the one or more dependent columns of the type, a name of a parent column, corresponding to the one or more dependent columns, is inserted in the trigger program template steps to identify the corresponding parent column as the unspecified parent column and identify the one or more dependent columns as the unspecified dependent columns. Names of the one or more dependent columns comprise the name of the specified parent column and respective suffixes indicating the types of the dependent columns.
申请公布号 US7856455(B2) 申请公布日期 2010.12.21
申请号 US20060365075 申请日期 2006.03.01
申请人 INTERNATIONAL BUSINESS MACHINES CORPORATION 发明人 MARTINEZ ANDREA C.;MATULA CHARLES;STARKE DAVID H.;WILEY GREGORY R. E.
分类号 G06F17/30 主分类号 G06F17/30
代理机构 代理人
主权项
地址