Viewing 2 posts - 1 through 3 (of 3 total)
I use the (undocumented) LINENO command when testing my stored procedures. This makes the line reported in the error correspond more exactly to the code.
November 3, 2025 at 8:11 am
#4680360
This is what I typically end up with. It handles either column being null.
WHEN MATCHED AND (IIF(T.Site_Name IS NULL, IIF(S.Site_Name IS NULL, 0, 1), IIF(S.Site_Name...
February 27, 2020 at 12:50 pm
#3729222