If you’ve got a very complicated SELECT statement and some records aren’t included because of a join, what is the easiest way to debug this and find the reasons why?
If you’ve got a very complicated SELECT statement and some records aren’t included because
Share
You could include your
ONlogic in theWHEREclause, phrase it like this:and just comment out as many of the terms until you isolate the unexpected behaviour.