﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQLServerCentral / SQL Server 2005 / Development  / Union All / Latest Posts</title><generator>InstantForum.NET v2.9.0</generator><description>SQLServerCentral</description><link>http://www.sqlservercentral.com/Forums/</link><webMaster>notifications@sqlservercentral.com</webMaster><lastBuildDate>Thu, 23 May 2013 13:08:03 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Union All</title><link>http://www.sqlservercentral.com/Forums/Topic620820-145-1.aspx</link><description>It worked .Thanks Gil.</description><pubDate>Tue, 16 Dec 2008 16:23:20 GMT</pubDate><dc:creator>Sarwan</dc:creator></item><item><title>RE: Union All</title><link>http://www.sqlservercentral.com/Forums/Topic620820-145-1.aspx</link><description>The columns in the table a ,b ,c are already  using aggregate functions  like  max(duration) ,min(perf),avg(proc)</description><pubDate>Tue, 16 Dec 2008 16:14:30 GMT</pubDate><dc:creator>Sarwan</dc:creator></item><item><title>RE: Union All</title><link>http://www.sqlservercentral.com/Forums/Topic620820-145-1.aspx</link><description>[code]SELECT SUM(SomeColumn) FROM ( SELECT SomeColumn FROM TableA UNION ALL SELECT SomeColumn FROM TableB UNION ALL SELECT SomeColumn FROM TableC) sub[/code]</description><pubDate>Tue, 16 Dec 2008 16:03:44 GMT</pubDate><dc:creator>GilaMonster</dc:creator></item><item><title>Union All</title><link>http://www.sqlservercentral.com/Forums/Topic620820-145-1.aspx</link><description>Hi,table A which has 4 recordsunion allTable B -has 4 records                 --getting result set using 3 tablesunion all table c - has 4 records..when i use union all I'm getting 12 records altogether in a result set..My question is i want to see the sum of all records  so that i will get only 1 record in the result set.</description><pubDate>Tue, 16 Dec 2008 16:00:55 GMT</pubDate><dc:creator>Sarwan</dc:creator></item></channel></rss>