A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Running & Setting Up Queries
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

"append query" issues



 
 
Thread Tools Display Modes
  #1  
Old May 27th, 2004, 07:06 PM
BJMLaJolla
external usenet poster
 
Posts: n/a
Default "append query" issues

I have the same problem. I have 70 tables that I want into one table. All tables have the same structure with different content. I tried an Append Query but got "multiple" destination message. I am stuck with the 70 tables as my source. My question is how do I merge them into one table.
  #2  
Old May 30th, 2004, 08:45 PM
John Spencer (MVP)
external usenet poster
 
Posts: n/a
Default "append query" issues

Normally, you would use an append query on one table at a time.

INSERT INTO TargetTable (FieldA, FieldB, FieldC)
SELECT S.FieldA, S.FieldB, S.FieldC
FROM Source1 As S

Repeat the above for each of the 70 tables.

You can use a union query to combine multiple tables, BUT you will run into a
limit on the number of tables/fields that you can include before you get all 70
tables into your union query.

If you don't understand this, then can you post back with the SQL of the query
that is failing?

BJMLaJolla wrote:

I have the same problem. I have 70 tables that I want into one table. All tables have the same structure with different content. I tried an Append Query but got "multiple" destination message. I am stuck with the 70 tables as my source. My question is how do I merge them into one table.

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 08:12 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.