I want to compare the output of a scalar function with a scalar value in a CHECK statement when creating a table, but it doesn\'t seem to do the right comparisons. Is there