Define Validation Rule Usage for a SQL Server Table
Use the SQL Server Table Editor to specify constraints on a table in either a SQL Server physical model.
To define validation rule usage for a SQL Server table
- Click Tables on the Model menu.
The SQL Server Table Editor opens.
- Select the table in the Navigation Grid for which you want to define validation rule usage.
Note: Use the Enter filter text box to filter a very large list of tables to quickly locate the one for which you want to define validation rule usage.
- Click the Validation tab.
- Select the validation usage item in the grid that you want to define and work with the following options:
Note: Click New
on the toolbar to open the SQL Server Validation Rule Editor if there are no validations displayed in the grid.
- Validation
Specifies the name for the usage of the validation rule by the table. Change the name in this field.
- Disabled
Specifies whether to disable the validation in the database. Select a value from the drop-down.
- Is Not For Replication
Specifies whether the validation is not for replication in the database. Select the check box to enable this option.
- With Check
Specifies whether the With Check constraint property is set for the validation.
- Validation Rule
Specifies the validation rule to associate with the validation rule usage name specified in the Validation field.
- Click Close.
The validation rule usage is defined and the SQL Server Table Editor closes.
Copyright © 2021 Quest Software Inc. All rights reserved. All trademarks, trade names, service marks, and logos referenced herein belong to their respective companies. |