When a primary key column migrates from a parent table to a child table, it becomes a foreign key column in the child table. Since a foreign key can have a different role than the role of the related primary key, you can assign a rolename to a foreign key column to describe its role in a particular table and to distinguish it from another column with the same name.
To assign a rolename to a migrated index
The Relationships editor opens.
The Rolename tab opens.
Lets you select the primary key column that migrates from the parent table to the child table in the current relationship. Use the drop-down list to select an index.
Displays the primary key column that is migrated from the parent table to the child table and the rolename associated with the column in the current relationship.
Lets you enter a rolename for the column you selected from the Migrated Column/Rolename list. Enter the rolename in this field.
Specifies to use the preferences selected in the Relationships editor when DDL is generated during Forward Engineering. Select the check box to enable this option.
The rolename is assigned to the migrated index and the Relationships editor closes.
Copyright © 2013 CA.
All rights reserved.
|
|