tempo1
Programmer
- Feb 20, 2007
- 118
Hi everyone,
I run a simple querry to view all rows where a values of column "contact" do not exist in another table.
but i get no results at all though there should be manu rows as a result
of that querry.
Am i using wrong code ? Is there "not in" in t-sql language ? I there is not, how do i get
the list o "contacts" that do not exist in the other table?
Thanks a lot.
I run a simple querry to view all rows where a values of column "contact" do not exist in another table.
Code:
select contact from final_aig
where
contact not in(select contact from aig_errors)
order by
lastname
of that querry.
Am i using wrong code ? Is there "not in" in t-sql language ? I there is not, how do i get
the list o "contacts" that do not exist in the other table?
Thanks a lot.