HPlogo ALLBASE/SQL Database Administration Guide: HP 3000 MPE/iX Computer Systems > Chapter 8  System Catalog

System.RuleColumn

» 

Technical documentation

Complete book in PDF
» Feedback

 » Table of Contents

 » Index

SYSTEM.RULECOLUMN records the columns listed for the UPDATE statement type in the rule.

Initially, the table is empty, since the system catalog does not use rules. ALLBASE/SQL updates the table when processing a CREATE RULE, DROP RULE, or TRANSFER OWNERSHIP involving a rule.

RULENAME and OWNER uniquely identify a particular rule. The table it is defined upon may be deduced by searching the SYSTEM.RULE table for a match on these two columns. The SYSTEM.RULE view contains the TABLENAME.

Table 8-29 System.RuleColumn

Column NameTypeLengthDescription
RULENAMECHAR20Name of the rule
OWNERCHAR20Owner of the rule
COLUMNNAMECHAR20Name of the column for which an UPDATE results in firing the rule

 

Example



   select * from system.rulecolumn;

   --------------------+--------------------+--------------------

   RULENAME            |OWNER               |COLUMNNAME

   --------------------+--------------------+--------------------

   UPDATEREPORT        |PURCHDB             |REPORTOWNER

   UPDATEREPORT        |PURCHDB             |ReportName

   ---------------------------------------------------------------------------

   Number of rows selected is 2

   U[p], d[own], l[eft], r[ight], t[op], b[ottom], pr[int] <n>, or e[nd] >


Feedback to webmaster