I am a new Access use and need to concatenate (UNION) many tables. I am currently doing it "by hand":
SELECT *
FROM [TestA]
UNION SELECT * FROM [TestB];
UNION SELECT * FROM [TestD];
.....
UNION SELECT * FROM [TestX];
I would like to do this with a loop where I can specify TestA, TestB, .... TestX.
The table names are abitrary, not Table1, Table2....
Any help would be greatly appricated.
Thanks
SELECT *
FROM [TestA]
UNION SELECT * FROM [TestB];
UNION SELECT * FROM [TestD];
.....
UNION SELECT * FROM [TestX];
I would like to do this with a loop where I can specify TestA, TestB, .... TestX.
The table names are abitrary, not Table1, Table2....
Any help would be greatly appricated.
Thanks
Comment