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!

Combine Results 1

Status
Not open for further replies.

awesomeBA

Technical User
Jun 1, 2005
24
US
I'd like to use the results of two querys to create a table. Both contain the same column names and properties.

Can you help with the best approach? I tried teh wizard it was a not go? Pprobably ID10T user error :)
 
SELECT * INTO NewTable
FROM (SELECT * FROM query1 UNION ALL SELECT * FROM query2) AS U;

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top