Viewing 2 posts - 1 through 2 (of 2 total)
Of course.
Here's an outline of how the stored procedure could look. One should probably add more (better say any;) ) input verification, but--as far as I've tested it--it works correctly.
You...
June 13, 2016 at 3:29 am
#1884576
Am I missing something or does the script mishandle nulls?
Basically, it's always generating "where x = isnull(y, 0)" comparisons which evaluate true for x=0 and y=null.
Paul White has a great...
June 7, 2016 at 3:08 am
#1883517