To view or edit a column's properties, double-click its Browser or list entry. The property sheet tabs and fields listed here are those available by default, before any customization of the interface by you or an administrator.
The General tab contains the following properties:
Property |
Description |
---|---|
Name/Code/Comment |
Identify the object. The name should clearly convey the object's purpose to non-technical users, while the code, which is used for generating code or scripts, may be abbreviated, and should not normally include spaces. You can optionally add a comment to provide more detailed information about the object. By default the code is generated from the name by applying the naming conventions specified in the model options. To decouple name-code synchronization, click to release the = button to the right of the Code field. |
Stereotype |
Extends the semantics of the object. You can enter a stereotype directly in this field, or add stereotypes to the list by specifying them in an extension file. |
Table |
Specifies the table which contains the column. |
Data type |
Specifies the form of data stored in the column, such as numeric, alphanumeric, boolean, or others. |
Length |
Specifies the maximum length of data stored in the column. |
Precision |
Specifies the maximum number of places after the decimal point. |
Domain |
Specifies the name of the associated domain (see Domains (CDM/LDM/PDM)). Use the tools to the right of the list to create a domain, browse the tree of available domains, or view the properties of the currently selected domain. |
Primary key |
Specifies that the values in the column uniquely identify table rows. |
Foreign key |
Specifies that the column depends on and migrates from a primary key column in another table. |
Sequence |
Specifies the sequence associated with the column (see Sequences (PDM)). |
Displayed |
Specifies that the column can be displayed in the table symbol. |
With default |
Specifies that the column must be assigned a value that is not null. |
Mandatory |
Specifies that a default value is assigned to the column when a null value is inserted (not available for all DBMSs). |
Identity |
Specifies that the column is populated with values generated by the database. Identity column are often used as primary keys(not available for all DBMSs). |
Computed |
Specifies that the column is computed from an expression using values from other columns in the table (not available for all DBMSs). |
Keywords |
Provide a way of loosely grouping objects through tagging. To enter multiple keywords, separate them with commas. |
The Detail tab contain the following properties:
Property |
Description |
---|---|
Null Values |
Specifies the proportion of column entries which contain null values. You can enter a number or percentage in this and the other fields in the Column fill parameters groupbox or obtain them from your database (see Obtaining Column Statistics from your Database). |
Distinct Values |
Specifies the proportion of column entries which contain distinct values. You can enter a number or percentage in this field or derive its value from database statistics. For example, if you set the percentage of distinct values to 100 % for one table column to 80% for a second column and then generate the table with 10 rows, all 10 rows in the first column will have distinct values, while only 8 rows in the second column will have distinct values. When you apply a test data profile with a list generation source to a column with a given percentage of distinct values, PowerDesigner uses the values from the test data profile list. If there are not enough values declared in the list, a warning message is displayed in the Output window to inform you that the distinct value parameter cannot be enforced due to lack of distinct values in the list of values. |
Average Length |
Specifies the average length of a value. You can enter a number in this field or derive its value from database statistics. |
Profile |
Specifies a test data profile to use to generate test data for the column. Click the ellipsis button to the right of this field to access the List of Test Data Profiles (see Populating Columns with Test Data). |
Computed Expression |
Specifies an expression used to compute data for the column (see Creating a Computed Column). |
Standard Checks - specifies constraints on column data (see Setting Data Profiling Constraints).
Additional Checks - provides an editable SQL statement, which can be used to generate more complex constraints (see Specifying Advanced Constraints).