Hi all,
How to combine the two columns having different name from two different tables in SQL Server ?
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Shankar MPosted Nov 26, 2012, 6:13 AM
No problem, if two column names are different and if you are trying to union them, The only issue is that both should of same datatype.
Thanks,
Shankar
Rohatash KumarPosted Nov 26, 2012, 5:12 AM
But Column name are not same in both table.
Sivaraman DhamodaranPosted Nov 26, 2012, 5:06 AM
Select column in second table and Union them.
Google SQL2005 Select Union
nallyaPosted Nov 26, 2012, 4:59 AM
http://stackoverflow.com/questions/2360396/how-can-i-merge-the-columns-from-two-tables-into-one-output