Create a rule that specifies the domain of acceptable values for a
particular column.
Only a database owner, or a user or group with create rule permission can create a rule.
- In the left pane of Administration Console, expand , then select Rules.
- Click the drop-down arrow and select New.
You see the Create Rule wizard.
- On the Introduction screen, select the server, database, and owner of the new rule.
- Enter the name of the rule.
- Enter the expression that is used to evaluate the data. You can use any expression that is valid in a where clause.
- (Optional) Click Preview to see the SQL statements for your command.
- (Optional) Click Summary to verify your selected options.