Table definition
tblFoo
x varchar
tblFoo
------
x
------
abc
def
ghi
I have a string like 'abc,def,ghi,jkl'
and I want to say return for me everything in
this string that is not in tblFoo. So basically
the reverse of:
SELECT *
FROM tblFOO
WHERE x NOT IN ('abc,def,ghi,jkl');
Ultimately I would be looking for the result to say jkl in this instance as it is in my string but not in tblFoo.
Thanks in advance for replies.
tblFoo
x varchar
tblFoo
------
x
------
abc
def
ghi
I have a string like 'abc,def,ghi,jkl'
and I want to say return for me everything in
this string that is not in tblFoo. So basically
the reverse of:
SELECT *
FROM tblFOO
WHERE x NOT IN ('abc,def,ghi,jkl');
Ultimately I would be looking for the result to say jkl in this instance as it is in my string but not in tblFoo.
Thanks in advance for replies.