Defining Db2 for i Table Columns
The following properties are applicable to an Db2 for i Table Column object.
Tab |
Property |
Description |
Additional Information |
---|---|---|---|
Physical Name | Specifies the physical name of the table column | ||
Domain Parent | Specifies the domain parent of the table column | ||
Physical Data Type | Specifies the physical data type for the selected column | ||
Primary Key | Specifies the column as the table's primary key | ||
Foreign Key | Specifies whether the column is a foreign key | ||
Physical Only | Specifies whether the table appears in a physical model only | ||
SDI | Specifies whether the column contains Personally Identifiable Information (SDI) | ||
Comments | Specifies comments about the column | ||
General | Null Option | Specifies the usage of the NULL clause for the selected column |
Null: Indicates that null values are allowed Not Null: Indicates that null values are not allowed |
DB2 for i | Maximum Length In Row | Specifies the maximum length allowed in a row for the data type you assigned | |
Average Width | Specifies an estimated average width for the column, if variable width is allowed | ||
Percent Null | Specifies an estimated percentage of nulls used for that column | Use only whole numbers | |
Label | Specifies the label to be used to identify the column values in Db2 for i applications | ||
Header | Specifies the heading name for column values when they appear as a table | ||
System Name | Specifies a name to override the alias name automatically assigned to each column by Db2 | If you leave this field empty, Db2 for i automatically truncates the column name to show only the first 10 characters | |
Column Compression | Specifies whether to use column compression | ||
Generated | Specifies how Db2 for i generates values for the table column | ||
Character Type | Specifies the data subtype for a character column | Available only if the Physical Data Type is CHAR, CHAR(), CHARACTER, CHARACTER(), VARCHAR(), or LONG VARCHAR() | |
Coded Character Set Identifier | Specifies the CCSID for the selected table column | ||
Allocate | Specifies the number of characters you want to allocate to the column in each row | ||
Constraint | Use Inherited Constraint | Specifies whether the validation rule is inherited from the column's domain | |
Name | Specifies the name of the inherited validation rule to be attached to the selected column | ||
Validation | Specifies the validation rule to attach to the selected column | Available when Use Inherited Constraint is not selected | |
Use Inherited Default Value | Specifies whether the property is inherited from the column's domain | ||
Name | Specifies the name of the default value to be attached to the selected column | ||
Default | Specifies the default value to attach to the selected column | Available when Use Inherited Default Value is not selected | |
Link | Link Name | Specifies the user-defined link name | You can use the Link Wizard to create and manage link objects and define the link object properties. For more information on the Link Wizard refer to the Link Wizard topic. |
Linked To | Specifies the linked column name | ||
Synch Direction | Specifies the synchronization direction of the link | ||
Definition | Specifies the definition of the link | ||
Indexes | Show FK Indexes | Specifies whether foreign key indexes appear in the index membership list | |
Index Name | Specifies the indexes in which the selected column is a member | ||
Type | Specifies the index type |
Copyright © 2025 Quest Software, Inc. |