The Domain category is located in the
category, and can contain the following items that define how domains are modeled for your DBMS.
Item |
Description |
---|---|
[Common items] |
The following common object items may be defined for domains: For a description of each of these common items, see Common object items. |
Bind |
Specifies the syntax for binding a business rule to a domain. Example (ASE 15): [%R%?[exec ]][execute ]sp_bindrule [%R%?['[%QUALIFIER%]%RULE%'][[%QUALIFIER%]%RULE%]:['[%QUALIFIER%]%RULE%']], %DOMAIN% |
EnableBindRule |
Specifies whether business rules may be bound to domains for check parameters. The following settings are available: |
EnableCheck |
Specifies whether check parameters are generated. This item is tested during column generation. If User-defined Type is selected for columns in the Generation dialog box, and EnableCheck is set to Yes for domains, then the check parameters are not generated for columns, since the column is associated with a domain with check parameters. When the checks on the column diverge from those of the domain, the column checks are generated. The following settings are available: |
EnableDefault |
Specifies whether default values are generated. The following settings are available: |
SqlListDefault Query |
Specifies a SQL query to retrieve and list domain default values in the system tables during reverse engineering. |
UddtComment |
Specifies a statement for adding a user-defined data type comment. |
Unbind |
Specifies the syntax for unbinding a business rule from a domain. Example (ASE 15): [%R%?[exec ]][execute ]sp_unbindrule %DOMAIN% |