Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to append 4 tables into one by a single query in Access 2007?

Status
Not open for further replies.

katrina11

Technical User
Apr 30, 2011
108
Hi experts,

I need to append FOUR tables into one in Access 2007. Is there any way to do in by single query? Could you please help me with it?

Any help will be greatly appreciated!

Katrin

 

Did you try:
[tt]
Select * from OldTable INTO NewTable[/tt]
?

Have fun.

---- Andy
 
Is this a one time task or repeated regularly?

Are all four tables the exact same other than data?

Are you concerned about duplicate records?

Have you considered creating a union query of the four tables like:
Code:
SELECT Field1, Field2, Field3, ....
FROM tblA
UNION ALL
SELECT Field1, Field2, Field3, ....
FROM tblB
UNION ALL
SELECT Field1, Field2, Field3, ....
FROM tblC
UNION ALL
SELECT Field1, Field2, Field3, ....
FROM tblD;
You can then append from the union query into your other table.




Duane
Hook'D on Access
MS Access MVP
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top