L
laknight
I have 4 different queries with the same 3 fields which I need to combine but
for some reason I can not get this very simple UNION query to work and I can
not figure out why. It's telling me that there is an expected SQL statement
missing
SELECT [PARENT],[DESCRIPTION],[PRODUCT_LINE] FROM CustomPurch_PartL1
UNION ALL
SELECT [PARENT],[DESCRIPTION],[PRODUCT_LINE] FROM CustomPurch_PartL2
UNION ALL
SELECT [PARENT],[DESCRIPTION],[PRODUCT_LINE] FROM CustomPurch_PartL3
UNION ALL
SELECT [PARENT],[DESCRIPTION],[PRODUCT_LINE] FROM CustomPurch_PartL4
UNION ALL ORDER_BY [PARENT];
for some reason I can not get this very simple UNION query to work and I can
not figure out why. It's telling me that there is an expected SQL statement
missing
SELECT [PARENT],[DESCRIPTION],[PRODUCT_LINE] FROM CustomPurch_PartL1
UNION ALL
SELECT [PARENT],[DESCRIPTION],[PRODUCT_LINE] FROM CustomPurch_PartL2
UNION ALL
SELECT [PARENT],[DESCRIPTION],[PRODUCT_LINE] FROM CustomPurch_PartL3
UNION ALL
SELECT [PARENT],[DESCRIPTION],[PRODUCT_LINE] FROM CustomPurch_PartL4
UNION ALL ORDER_BY [PARENT];