I did not have all the WHERE specifications on my original SQL.
I tried your example, applied to my tables and it didn't work.
May I ask what you mean by "didn't work"? Are you getting a failure/
error message? The first stage of troubleshooting is to reproduce the
problem and I haven't yet been able to reproduce it

Post your
tables' structures, SQL DLL is preferred but not essential.
Reading your OP, I think I'd use a NOT EXISTS construct anyhow --
worth a try?. Northwind has so many nullable columns to code around
e.g.
SELECT *
FROM Orders AS T1
WHERE NOT EXISTS (
SELECT *
FROM Orders2 AS T2
WHERE T1.OrderID = T2.OrderID
AND IIF(T1.CustomerID IS NULL, -55, T1.CustomerID)
= IIF(T2.CustomerID IS NULL, -55, T2.CustomerID)
AND IIF(T1.EmployeeID IS NULL, -55, T1.EmployeeID)
= IIF(T2.EmployeeID IS NULL, -55, T2.EmployeeID)
AND IIF(T1.OrderDate IS NULL, -55, T1.OrderDate)
= IIF(T2.OrderDate IS NULL, -55, T2.OrderDate)
AND IIF(T1.RequiredDate IS NULL, -55, T1.RequiredDate)
= IIF(T2.RequiredDate IS NULL, -55, T2.RequiredDate)
AND IIF(T1.ShippedDate IS NULL, -55, T1.ShippedDate)
= IIF(T2.ShippedDate IS NULL, -55, T2.ShippedDate)
AND IIF(T1.ShipVia IS NULL, -55, T1.ShipVia)
= IIF(T2.ShipVia IS NULL, -55, T2.ShipVia)
AND IIF(T1.Freight IS NULL, -55, T1.Freight)
= IIF(T2.Freight IS NULL, -55, T2.Freight)
AND IIF(T1.ShipName IS NULL, -55, T1.ShipName)
= IIF(T2.ShipName IS NULL, -55, T2.ShipName)
AND IIF(T1.ShipAddress IS NULL, -55, T1.ShipAddress)
= IIF(T2.ShipAddress IS NULL, -55, T2.ShipAddress)
AND IIF(T1.ShipCity IS NULL, -55, T1.ShipCity)
= IIF(T2.ShipCity IS NULL, -55, T2.ShipCity)
AND IIF(T1.ShipRegion IS NULL, -55, T1.ShipRegion)
= IIF(T2.ShipRegion IS NULL, -55, T2.ShipRegion)
AND IIF(T1.ShipPostalCode IS NULL, -55, T1.ShipPostalCode)
= IIF(T2.ShipPostalCode IS NULL, -55, T2.ShipPostalCode)
AND IIF(T1.ShipCountry IS NULL, -55, T1.ShipCountry)
= IIF(T2.ShipCountry IS NULL, -55, T2.ShipCountry)
);
My guess is it has to do with my tables not having a primary key.
Unfortunately, this is probably one the few cases where a primary key doesn't
work in the data.
I doubt it. SQL tables don't require a PK nor do they require a FK to
exist to be able to JOIN in a query. If you were hitting some kind of
limit I'd expect (demand!) a failure message.
Jamie.
--