Converting a union query in a make table query

  • Thread starter Thread starter Guest
  • Start date Start date
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)
 
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
..
 
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
 
Back
Top