Error validating the formula for column sql server