Reputation: 16194
In SQL Server I need to assign a rule with a column but this column is int
not a UDDT
I know how to assign a UDDT with a rule .. I need to assign a rule with a table column with int
datatype
Upvotes: 0
Views: 176
Reputation: 48402
I'm not entirely certain I know what you are asking, but if I needed to create a 'rule' and assign it to a column, I would probably consider using a Check Constraint and not a user defined data type.
You can read more about Check Constraints.
Upvotes: 4