Sybase XML Impact Driver User Manual


 
Defining derivations
108 PowerDesigner
For example: the zipCode simple type, based on the xs:string data type, is
restricted to the following pattern: two uppercase letters, from A to Z,
followed by a five-digit number, each digit ranging from 0 to 9.
Generated schema:
Creating a restriction on a simple type
You derive a simple type by restriction when you want to restrict the values
of its base type.
To create a restriction on a simple type:
1 Double-click the name or the icon of a simple type in the Browser tree
view.
or
Double-click the symbol of a simple type in the diagram.
The simple type property sheet appears.