I have 5 queries. I want to be able to run these queries one after another and then join them into one list of records. Can anybody suggest a way of doing this.
SELECT qselIngredientsQTYREC1.*,
UNION ALL
SELECT qselIngredientsQTYREC2.*,
UNION ALL
SELECT qselIngredientsQTYREC3.*,
UNION ALL
SELECT qselIngredientsQTYREC4.*,
UNION ALL
SELECT qselIngredientsQTYREC5.*
And what what about this ?
SELECT * FROM qselIngredientsQTYREC1
UNION ALL
SELECT * FROM qselIngredientsQTYREC2
UNION ALL
SELECT * FROM qselIngredientsQTYREC3
UNION ALL
SELECT * FROM qselIngredientsQTYREC4
UNION ALL
SELECT * FROM qselIngredientsQTYREC5
Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.