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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using UNIONs in a INSERT INTO statement

Status
Not open for further replies.

rmuller

Programmer
Nov 30, 2001
14
NL
Hi,

The following code does not work in Access (up to 2002):

INSERT INTO <table> (<columnlist>)
SELECT <columnlist> FROM <table>
UNION
SELECT <columnlist> FROM <table>
UNION
....

Who knows a alternative solotion (w/h temp. tables)

Ronald
 
One Select into (Make Table)
N Append tos (Append) MichaelRed
m.red@att.net

There is never time to do it right but there is always time to do it over
 

Save the Union query. Then use the saved Union query as the source in the append query. Terry L. Broadbent
FAQ183-874 contains tips for posting questions in these forums.
NOTE: Reference to the FAQ is not directed at any individual.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top