Use the grid in the RI Defaults tab of the Model Editor to specify default referential integrity rules for relationships in your model.
To set default referential integrity rules
The Model Editor opens.
Applies the new default settings to any existing relationship in the model. If you are working with an existing model and change the default settings, you can use this button to implement the new settings in the model for all existing relationships. If you save the new settings but do not rebind, the defaults affect new relationships only.
Clears your settings and returns to the system defaults.
Specifies whether or not you want CA ERwin Data Modeler to automatically create triggers for the referential integrity defaults.
Lists a SQL action in each of its rows. For each SQL action, select the default RI action for each of the following relationship type columns:
Lets you specify the RI setting for each of the SQL actions in the Action column, which applies to all identifying relationships in the model. Available RI settings are None, No Action, Restrict, and Cascade.
Lets you specify the RI setting for each of the SQL actions in the Action column, which applies to all non-identifying relationships in the model for which nulls are allowed. Available RI settings are None, No Action, Restrict, Cascade, Set Null, and Set Default.
Lets you specify the RI setting for each of the SQL actions in the Action column, which applies to all non-identifying relationships in the model for which nulls are not allowed. Available RI settings are None, No Action, Restrict, Cascade, and Set Default.
Lets you specify the RI setting for each of the SQL actions in the Action column, which applies to all subtype relationships in the model. Available RI settings are None, No Action, Restrict, and Cascade.
Note: Some target databases, such as Oracle, utilize different terminology for RI trigger actions. Use the RI setting appropriate for your target database. In the case of NONE and NO ACTION, use of NONE means no restrictions (no RI trigger is created). NO ACTION is identical to RESTRICT, which means the action is not allowed if conditions are not met.
Default referential integrity rules are set and the Model Editor closes.
Copyright © 2012 CA. All rights reserved. | Tell Technical Publications how we can improve this information |