Solved

How do I append multiple tables without having to run an append query for each one?

Posted on 2008-06-24
3
784 Views
Last Modified: 2011-10-03
Hi there.  I want to join together a group of tables (about 40 in total) which have mainly the same fields but at the moment am doing this by running an append query for each one on to one original table (which consequently grows in size each time).  Is there a better/quicker way I can do this?  
0
Comment
Question by:fernandoweb
3 Comments
 
LVL 119

Accepted Solution

by:
Rey Obrero earned 125 total points
ID: 21855228
try using a union query

select * from T1
union all
select * from T2
union all
select * from T3
union all
select * from T4
union all
.
.

select * from T40
0
 
LVL 7

Assisted Solution

by:Dauhee
Dauhee earned 125 total points
ID: 21863774
create a view that joins the table and then just reference the view
0
 

Author Closing Comment

by:fernandoweb
ID: 31470118
Thanks for your help
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

This article is a continuation or rather an extension from Cascading Combos (http://www.experts-exchange.com/A_5949.html) and builds on examples developed in detail there. It should be understandable alone, but I recommend reading the previous artic…
Introduction The Visual Basic for Applications (VBA) language is at the heart of every application that you write. It is your key to taking Access beyond the world of wizards into a world where anything is possible. This article introduces you to…
Familiarize people with the process of utilizing SQL Server stored procedures from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Micr…
Learn how to number pages in an Access report over each group. Activate two pass printing by referencing the pages property: Add code to the Page Footers OnFormat event to capture the pages as there occur for each group. Use the pages property to …

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

25 Experts available now in Live!

Get 1:1 Help Now