Good afternoon,
I am reasonably new to Sql and I am trying to create a Query to update/create a new table "Overall Data" from 2 current Tables.
I am using the code below which works but I then need it to create a table if possible called "All Data" so I can then link it to PowerPivot
Currently in its Query state I cannot do this, so what is the best way to do this?
thanks in advance
Gavin
I am reasonably new to Sql and I am trying to create a Query to update/create a new table "Overall Data" from 2 current Tables.
I am using the code below which works but I then need it to create a table if possible called "All Data" so I can then link it to PowerPivot
Currently in its Query state I cannot do this, so what is the best way to do this?
Code:
Select *
from Table1
Union all
select *
from Table2
thanks in advance
Gavin