Chapter 3 Building Physical Diagrams
Naming a column constraint
A column constraint is a named check that enforces data requirements of check parameters.
Whenever you place a data restriction on a column, it generates a constraint automatically. You have the option of specifying a name for the constraint. If you do not specify a name for the constraint, PowerDesigner creates a default constraint name automatically.
This name helps you to identify and customize a column constraint in scripts for database creation and modification.
To name a column constraint:
- Select Model→Columns to display the List of Columns.
- Click a column in the list.
An arrow appears at the beginning of the line.
- Double-click the arrow at the beginning of the line.
or
Click the Properties tool.
The column property sheet appears.
- Click the Additional Checks tab.
The Additional Checks page appears.
- Type changes to the constraint name in the Constraint Name box.
The User-Defined button at the end of the box is pressed automatically.
Undo changes to a constraint name
You can always return to the default constraint name by clicking the User-Defined button.
- Click OK in each of the dialog boxes.
Copyright (C) 2005. Sybase Inc. All rights reserved.
|
|