I am trying to compare a mammoth table with over 300,000 rows and a much smaller table to see if data is in the big one and not in the little one. Here's my basic idea:
select TOAWorkOrdersNew.TechNum AS TOATechNum,
TOAWorkOrdersNew.FirstName AS TOAFirst,
TOAWorkOrdersNew.LastName AS TOALast,
TOAWorkOrdersNew.Title AS TOATitle,
TOAWorkOrdersNew.WorkDate AS TOAWorkDate,
Techs.TechNum AS TechNum,
Techs.FirstName AS FirstName,
Techs.LastName AS LastName,
Techs.JobDesc AS Job
from TOAWorkOrdersNew, Techs
Where
!!!!! TOAWorkOrdersNew.WorkDate between '2013-05-15' and '2013-05-31' AND
TOAWorkOrdersNew.TechNum [U]IS NOT FOUND INSIDE[/U] Techs.TechNum !!!
Techs.TechNum is the unique key for Techs.
Thanks as always for the help,
tim