strangeBrew12
Programmer
I am trying to run a simple query using the not exists, but it is not work. I forced in a test record in the DFAddress table that is not in the Address table. Below is the query I am using...
select AddrType, AddrLine1, AddrLine2, AddrLine3, AddrLine4, AddrCity,
AddrState, AddrZipC, AddrCountry, AddrEntryPerson
From Address
where exists
(SELECT AddrType, AddrLine1, AddrLine2, AddrLine3, AddrLine4, AddrCity,
AddrState, AddrZipC, AddrCountry, AddrEntryPerson
FROM DFAddress)
Maybe there is an easier way to handle this? Better method?The tables are not identical in their full form, so the * would not work (I think)
Thanks all!
JJ
select AddrType, AddrLine1, AddrLine2, AddrLine3, AddrLine4, AddrCity,
AddrState, AddrZipC, AddrCountry, AddrEntryPerson
From Address
where exists
(SELECT AddrType, AddrLine1, AddrLine2, AddrLine3, AddrLine4, AddrCity,
AddrState, AddrZipC, AddrCountry, AddrEntryPerson
FROM DFAddress)
Maybe there is an easier way to handle this? Better method?The tables are not identical in their full form, so the * would not work (I think)
Thanks all!
JJ