You can assign a domain to a column using the Table Column Editor in a physical model.
When you attach a domain to a column, you specify physical data type for the selected column. Standard domains include: Default, Blob, Datetime, Number, and String. This list can also include user-defined physical data types that you create in the Domain Editor.
To assign a domain to a column
The Table Column Editor opens.
Lets you select a domain from the list to attach it to the selected column. The Domain Parent option contains a toolbar that includes the following options:
Lets you specify to sort the list of domains alphabetically, in reverse alphabetical order, or by domain hierarchy.
Restores inheritance from definition. If this column is a FK, the domain may be inherited or overridden to a different domain.
Opens the Domain Editor in physical edit mode.
Displays the physical name. You can change the name in this field or click the Text Editor button to open a larger edit window.
Specifies the physical data type for the column. You can change the data type using the drop-down. The drop-down list contains the data types related to the current domain.
Displays the column null option. You can change the null option using the drop-down control. You can also click the Inheritance button to either inherit or override the column's null option. This button changes to provide you with a visual cue of the current inheritance setting for the column null option.
Column domain assignment is saved and the Table Column Editor closes.
Note: If you do not want to associate the selected domain with the corresponding attribute in the logical model, click the Domain Editor button, and select the Physical Only check box in the General tab. You can then assign a different, logical-only domain to the attribute in the Attribute Editor.
Copyright © 2017 erwin Inc.
All rights reserved.
|
|