Business rules express how a business uses its data. You can set built-in referential integrity actions to capture common business rules that apply to the relationships between data in different tables. You can enforce these rules using referential integrity trigger actions. These actions tell the database management system what action to take when you attempt to delete, insert, or update a row in a table. Use the RI Actions tab in the Relationships editor to define referential integrity trigger actions for relationships.
Follow these steps:
The Relationship editor opens.
The RI Actions tab opens.
Specifies the referential integrity trigger action that you want to occur when data in the child table is deleted.
Specifies the referential integrity trigger action that you want to occur when data in the child table is inserted.
Specifies the referential integrity trigger action that you want to occur when data in the child table is updated.
Specifies the referential integrity trigger action that you want to occur when data in the parent table is deleted.
Specifies the referential integrity trigger action that you want to occur when data in the parent table is inserted.
Specifies the referential integrity trigger action that you want to occur when data in the parent table is updated.
Note: For more information about the trigger actions, see the Referential Integrity Trigger Actions topic.
The referential integrity trigger actions for the relationship are defined and the Relationships editor closes.
Copyright © 2017 erwin Inc.
All rights reserved.
|
|