共用方式為


Rules for Inserting Tab, RI Builder

The Rules for Inserting tab in the Referential Integrity Builder specifies rules to apply when a new record is inserted or an existing record is updated in the child table. This builder also has the Rules for Updating tab and the Rules for Deleting tab.

  • Restrict
    Prevents you from adding records in the child table for which there are no matching records in the parent table. If you select Restrict Insert for a relationship, an attempt to add records in the child table generates an error if there is no matching parent record.

  • Ignore
    Allows you to insert records into the child table regardless of whether there is a matching record in the parent table.

  • Referential Integrity Grid
    Parent Table displays the name of the table in the database relation containing the primary or candidate index.

    Child Table displays the name of the child table in the database relation.

    Update displays the update rules for referential integrity for the relation. Possible values are Cascade, Restrict, or Ignore. You can change the settings by selecting the field, which will present a drop-down list of the choices.

    Delete displays the delete rules for the referential integrity for the relation. Possible values are Cascade, Restrict, or Ignore. You can change the settings by selecting the field, which will present a drop-down list of the choices.

    Insert displays the insert rules for the referential integrity for the relation. Possible values are Cascade, Restrict, or Ignore. You can change the settings by selecting the field, which will present a drop-down list of the choices.

    Parent Tag grid column displays tag name of the index in the Primary or Candidate in the Parent table.

    Child Tag grid column displays the tag name of the index in the child table.

See Also

Referential Integrity Builder | Rules for Inserting Tab | Rules for Updating Tab