HelloI have a fairly simple script, but one field (person_name) has some test users' names (e.g. 'John Smith') in that I want to exclude from a report I am creating. The field also has some null values, which I want to keep in the report.I have put in:AND person_name NOT IN ('john smith', 'sally brown') etc. This removes the names from the report but, for some reason, it has also removed the NULL values from person_name. As mentioned, I want to keep the NULL values in.My question is, is there a simple reason why NULL has vanished from the report as soon as I start blocking certain names?I am rather puzzled by this and any pointers would be appreciated.Thanks.
↧