-- ============================= -- Create Bound Rule template -- ============================= -- This feature is marked for deprecation USE GO -- Define the rule for use in the database CREATE RULE . AS @value >= 0 GO -- Bind the rule to a specific column in a table EXEC sp_bindrule '.', '..' GO