Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 combine two cloumns into one column from different

Author  Topic 

josef
Starting Member

15 Posts

Posted - 2011-02-21 : 00:42:43
I am trying to do the following -
can someone help me with a sql statement /syntax
I appreciate your help
table1
date name amount
01/01/11 x 100


table2

date name amount
01/02/11 y 200


table3(output)


date name amount
01/01/11 x 100
01/02/11 y 200

MIK_2008
Master Smack Fu Yak Hacker

1054 Posts

Posted - 2011-02-21 : 00:47:57
select date, name,amount from table1
Union All
select date, name,amount from table2

Cheers!
MIK
Go to Top of Page
   

- Advertisement -