MajP
You've got your good things, and you've got mine.
- Local time
- Today, 04:15
- Joined
- May 21, 2018
- Messages
- 9,446
Finally getting around to teaching myself SSMS. I had a query with the WHERE clause
In Access this would return all records including those that are NULL.
In SS it did not include the NULL records. I am assuming that is just a difference.
What is the normal why to handle this? I did a couple things that worked, but not sure if there is a standard way to do this.
FamilyCategoryID_FK <> 18 or FamilyCategoryID_FK is null
and
isnull(FamilyCategoryID_FK,0) <> 18
Thanks.
Code:
FamilyCategoryID_FK <> 18
In SS it did not include the NULL records. I am assuming that is just a difference.
What is the normal why to handle this? I did a couple things that worked, but not sure if there is a standard way to do this.
FamilyCategoryID_FK <> 18 or FamilyCategoryID_FK is null
and
isnull(FamilyCategoryID_FK,0) <> 18
Thanks.