Constraint sql server. Constraint typing rules.