P
Patrick
HI!!
I need help in figuring why the following query isn't
returning exactly what I need.
SELECT so_code, FY, ID, manufacturer
FROM [t 97/98 Data] 'tbl1
WHERE (so_code &"-" & fy & "-" & id) not in(SELECT
orderNbr from [t warranty]) ' tbl2
If I compare the result of this query for Order number:
'9999-97-003' there in each of the 2 tables. Which is not
good..
What I want his:
To locate the Order # (so_code &"-" & fy & "-" & id) )
from tbl1 that doesn't exist in tbl2.
The problem is that tbl1 order # in in 3 segments, where
as, in tbl2 its one segement.
This query would help me to identify any order # from tbl1
not presently entered in my warranty table.
Does anyone see a problem with this query...
Any help or suggestions will be appriciated!!
PAtrick
I need help in figuring why the following query isn't
returning exactly what I need.
SELECT so_code, FY, ID, manufacturer
FROM [t 97/98 Data] 'tbl1
WHERE (so_code &"-" & fy & "-" & id) not in(SELECT
orderNbr from [t warranty]) ' tbl2
If I compare the result of this query for Order number:
'9999-97-003' there in each of the 2 tables. Which is not
good..
What I want his:
To locate the Order # (so_code &"-" & fy & "-" & id) )
from tbl1 that doesn't exist in tbl2.
The problem is that tbl1 order # in in 3 segments, where
as, in tbl2 its one segement.
This query would help me to identify any order # from tbl1
not presently entered in my warranty table.
Does anyone see a problem with this query...
Any help or suggestions will be appriciated!!
PAtrick