Converting a union query in a make table query

G

Guest

Hi,
I am trying to convert a union query to a make table query. I am not sure
whether this is possible or not. In any event I attempted to do so. However,
I am not getting it right. I would appreciate any help on this matter. Thanks

CODE:

select * into tbltbs_combined from

(select * from tbltbs union all
select * from tbltbs_to_append)
 
J

John Spencer

Save the UNION Query and then use the reference to the Union query

SELECT * INTO xxxx FROM qUnionQuery

OR use two (or more) queries. First could be a make table query for the
first tables , and the subsequent query could be append query.

--
John Spencer
Access MVP 2002-2005, 2007
Center for Health Program Development and Management
University of Maryland Baltimore County
..
 
G

Guest

In SQL Server you have to alias the sub-query - not sure if this would work
in Access but give it a try. I.E. SELECT * INTO bla FROM (sub-query) a
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top