J
JimS
I want to present a list of possible FKs in my where clause. That's simple
enough:
....WHERE FK IN (1,2,5,7)...
How do I include "NULL" values of the list? FK is a foreign key, and may be
null if there is no matching row in the foreign table...
I want the "null" selection, if possible, to stay within the "IN" clause for
programming convenience. If my only solution is to include an "ISNULL(FK) AND
FK IN (1,2...)" I will, but I'd prefer it in the list.
enough:
....WHERE FK IN (1,2,5,7)...
How do I include "NULL" values of the list? FK is a foreign key, and may be
null if there is no matching row in the foreign table...
I want the "null" selection, if possible, to stay within the "IN" clause for
programming convenience. If my only solution is to include an "ISNULL(FK) AND
FK IN (1,2...)" I will, but I'd prefer it in the list.