When I run the following, it works fine:
with PartProductSupplemental as
(
SELECT 1 sku
UNION
select 2
UNION
SELECT 3
UNION
select 4
UNION
SELECT 5
),
Inventory as
(
SELECT 1 sku
UNION
select 2
UNION
SELECT 3
)
SELECT SKU
FROM PartProductSupplemental
EXCEPT
SELECT SKU
FROM Inventory
Are you sure this is actually what you are using? Is there any sql over this?
source
share