﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQLServerCentral / Article Discussions / Article Discussions by Author / Discuss content posted by Bhavesh Patel  / Aggregation in SQL Server 2008 / 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>Sat, 18 May 2013 23:22:26 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Aggregation in SQL Server 2008</title><link>http://www.sqlservercentral.com/Forums/Topic787769-1651-1.aspx</link><description>This is a nice feature introduced in SQL2008.</description><pubDate>Fri, 04 Dec 2009 08:55:46 GMT</pubDate><dc:creator>Hiren Shah 3</dc:creator></item><item><title>RE: Aggregation in SQL Server 2008</title><link>http://www.sqlservercentral.com/Forums/Topic787769-1651-1.aspx</link><description>Forgive me, as I am just a grasshopper! (how rude)anyway, I too was getting:Incorrect syntax near 'SETS'.but I am running SQL Server 2008 Management Studio.Figured out that the Compatibility level must be at 100 in order for this to work.  This is a bummer for me, since I work with SQL Server 2005 databases (level 90 or some even set to 80).  I think I could really make use of these more powerful grouping techniques, but you are stuck if you aren't using the 2008 engine.I guess I am forced to continue to do more mental gymnastics to get these types of desired results.:crying:</description><pubDate>Thu, 03 Dec 2009 09:11:36 GMT</pubDate><dc:creator>jim.taylor</dc:creator></item><item><title>RE: Aggregation in SQL Server 2008</title><link>http://www.sqlservercentral.com/Forums/Topic787769-1651-1.aspx</link><description>Its a back to the future moment.A fine demonstration how past performance can affect future rewards. :-)</description><pubDate>Thu, 03 Dec 2009 08:27:49 GMT</pubDate><dc:creator>Richard Sisk</dc:creator></item><item><title>RE: Aggregation in SQL Server 2008</title><link>http://www.sqlservercentral.com/Forums/Topic787769-1651-1.aspx</link><description>[quote][b]Stuart Davies (12/3/2009)[/b][hr][quote][b]San-847017 (12/2/2009)[/b][hr]Don't know how..when I opened QOD page today it shows that "My answer is correct" and I have been given 2 points. In fact I had not even seen the question...[/quote]Lucky you! I got wrong when the page opened - not saying however if I would have got it right if I had seen the question though! - Well yes of course I would  have done[/quote]I lucked out too and got it right, though I can't recall whether I answered it back on 9/14. Pleasant surprise - and I'll take it, given the previous times when I thought I was "robbed" out of a point or two. :-)webrunner</description><pubDate>Thu, 03 Dec 2009 08:18:33 GMT</pubDate><dc:creator>webrunner</dc:creator></item><item><title>RE: Aggregation in SQL Server 2008</title><link>http://www.sqlservercentral.com/Forums/Topic787769-1651-1.aspx</link><description>After moving the code to my SQL 2008 and rewriting it to work with an existing table I got some results. There were lines with the first field having a value and the second NULL. Then I got a set of lines with the first field NULL and the second with values. It was almost like running two statements, one grouping by the first field and the other grouping by the second field, then putting all the results together.What was a bummer was that I didn't need to go to all the trouble as when I went to answer the question it automatically assigned the correct answer. Why can't it do that on those that I would get wrong?</description><pubDate>Thu, 03 Dec 2009 07:22:55 GMT</pubDate><dc:creator>crussell-931424</dc:creator></item><item><title>RE: Aggregation in SQL Server 2008</title><link>http://www.sqlservercentral.com/Forums/Topic787769-1651-1.aspx</link><description>[quote][b]San-847017 (12/2/2009)[/b][hr]Don't know how..when I opened QOD page today it shows that "My answer is correct" and I have been given 2 points. In fact I had not even seen the question...[/quote]Lucky you! I got wrong when the page opened - not saying however if I would have got it right if I had seen the question though! - Well yes of course I would  have done</description><pubDate>Thu, 03 Dec 2009 05:23:08 GMT</pubDate><dc:creator>Stuart Davies</dc:creator></item><item><title>RE: Aggregation in SQL Server 2008</title><link>http://www.sqlservercentral.com/Forums/Topic787769-1651-1.aspx</link><description>Don't know how..when I opened QOD page today it shows that "My answer is correct" and I have been given 2 points. Infact I had not even seen the question...</description><pubDate>Wed, 02 Dec 2009 22:03:13 GMT</pubDate><dc:creator>Joy Smith San</dc:creator></item><item><title>RE: Aggregation in SQL Server 2008</title><link>http://www.sqlservercentral.com/Forums/Topic787769-1651-1.aspx</link><description>That's a question from the future!  Are we sure on Dec 3rd the answer will be the same?  :-)Kind of like those DOTS (Ice cream of the future!)</description><pubDate>Tue, 15 Sep 2009 14:01:38 GMT</pubDate><dc:creator>Steve Vassallo</dc:creator></item><item><title>RE: Aggregation in SQL Server 2008</title><link>http://www.sqlservercentral.com/Forums/Topic787769-1651-1.aspx</link><description>[quote][b]SanjayAttray (9/14/2009)[/b][hr]How come Dec 3, 2009 question appeared on sep 14th?[/quote]I am surprised too!</description><pubDate>Tue, 15 Sep 2009 02:43:50 GMT</pubDate><dc:creator>Bhavesh-1094084</dc:creator></item><item><title>RE: Aggregation in SQL Server 2008</title><link>http://www.sqlservercentral.com/Forums/Topic787769-1651-1.aspx</link><description>"Grouping Sets ()" is a new addition to T-SQL in 2008.refer SQL2008 BOL page:ms-help://MS.SQLCC.v10/MS.SQLSVR.v10.en/s10de_0evalplan/html/09f0096e-ab95-4be0-8c01-f98753255747.htm</description><pubDate>Tue, 15 Sep 2009 02:20:18 GMT</pubDate><dc:creator>Stewart "Arturius" Campbell</dc:creator></item><item><title>RE: Aggregation in SQL Server 2008</title><link>http://www.sqlservercentral.com/Forums/Topic787769-1651-1.aspx</link><description>I have parse the query in the query analyzer and got the following error:Msg 102, Level 15, State 1, Line 3Incorrect syntax near 'SETS'.</description><pubDate>Tue, 15 Sep 2009 01:13:33 GMT</pubDate><dc:creator>free_mascot</dc:creator></item><item><title>RE: Aggregation in SQL Server 2008</title><link>http://www.sqlservercentral.com/Forums/Topic787769-1651-1.aspx</link><description>How come Dec 3, 2009 question appeared on sep 14th?</description><pubDate>Mon, 14 Sep 2009 21:24:22 GMT</pubDate><dc:creator>SanjayAttray</dc:creator></item><item><title>Aggregation in SQL Server 2008</title><link>http://www.sqlservercentral.com/Forums/Topic787769-1651-1.aspx</link><description>Comments posted to this topic are about the item [B]&lt;A HREF="/questions/T-SQL/68085/"&gt;Aggregation in SQL Server 2008&lt;/A&gt;[/B]</description><pubDate>Mon, 14 Sep 2009 15:04:00 GMT</pubDate><dc:creator>Bhavesh-1094084</dc:creator></item></channel></rss>