<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Waldar&#039;s SQLing and Datawarehousing Place &#187; TSQL</title>
	<atom:link href="http://www.waldar.org/blog/tag/tsql/feed" rel="self" type="application/rss+xml" />
	<link>http://www.waldar.org/blog</link>
	<description>SQL behind Business Intelligence</description>
	<lastBuildDate>Tue, 01 Jun 2010 23:20:05 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>TSQL Challenge #13 Break The Batches, Pacmann Arithmetics Around Case</title>
		<link>http://www.waldar.org/blog/200909/tsql-challenge-13-break-batch-pacmann-arithmetics-case</link>
		<comments>http://www.waldar.org/blog/200909/tsql-challenge-13-break-batch-pacmann-arithmetics-case#comments</comments>
		<pubDate>Tue, 08 Sep 2009 20:46:47 +0000</pubDate>
		<dc:creator>Waldar</dc:creator>
				<category><![CDATA[SQLing]]></category>
		<category><![CDATA[Arithmetic]]></category>
		<category><![CDATA[Challenges]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[Pacmann]]></category>
		<category><![CDATA[TSQL]]></category>

		<guid isPermaLink="false">http://www.waldar.org/blog/?p=489</guid>
		<description><![CDATA[TSQL Challenge #13

My previous post was a very long one and it took me several hours just to write it properly, plus many hours to do the findings (which was a part of my day job, but most of the tests were done at home).
Having zero comment is a little frustrating to be honest, I [...]]]></description>
		<wfw:commentRss>http://www.waldar.org/blog/200909/tsql-challenge-13-break-batch-pacmann-arithmetics-case/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>TSQL Challenge #12 Using Date Functions And Recursive CTE, Laurent Schneider Fun Stuff</title>
		<link>http://www.waldar.org/blog/200908/tsql-challenge-12-using-date-functions-recursive-cte</link>
		<comments>http://www.waldar.org/blog/200908/tsql-challenge-12-using-date-functions-recursive-cte#comments</comments>
		<pubDate>Tue, 25 Aug 2009 01:05:37 +0000</pubDate>
		<dc:creator>Waldar</dc:creator>
				<category><![CDATA[SQLing]]></category>
		<category><![CDATA[Challenges]]></category>
		<category><![CDATA[cte]]></category>
		<category><![CDATA[Laurent Schneider]]></category>
		<category><![CDATA[Pacmann]]></category>
		<category><![CDATA[TSQL]]></category>

		<guid isPermaLink="false">http://www.waldar.org/blog/?p=424</guid>
		<description><![CDATA[TSQL Challenge #12

I'm a bit late on this one !
The last submition date for TSQL Challenge #12 was yesterday !
But I had some holidays and the weather was sunny so I spend less time on my computer !
I couldn't use (nor understand) the arithmetics Pacmann used in the comments of the previous blog entrie.
He managed [...]]]></description>
		<wfw:commentRss>http://www.waldar.org/blog/200908/tsql-challenge-12-using-date-functions-recursive-cte/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>NoCOUG SQL Challenge Author Solution, TSQL Challenge #12 !</title>
		<link>http://www.waldar.org/blog/200908/nocoug-sql-challenge-author-solution-tsql-challenge-12</link>
		<comments>http://www.waldar.org/blog/200908/nocoug-sql-challenge-author-solution-tsql-challenge-12#comments</comments>
		<pubDate>Tue, 11 Aug 2009 00:51:29 +0000</pubDate>
		<dc:creator>Waldar</dc:creator>
				<category><![CDATA[SQLing]]></category>
		<category><![CDATA[analytic functions]]></category>
		<category><![CDATA[Challenges]]></category>
		<category><![CDATA[Connect By]]></category>
		<category><![CDATA[NoCOUG]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[TSQL]]></category>

		<guid isPermaLink="false">http://www.waldar.org/blog/?p=401</guid>
		<description><![CDATA[NoCOUG Challenge

After many months, Iggy Fernandez published his own solution of the first annual NoCOUG SQL Challenge.
His solution was performing fast from the beginning according to the graph he sent to Chen Shapira back in the announcement days :

I never managed to achieve those kind of results, only Alberto and André could throw that magnitude [...]]]></description>
		<wfw:commentRss>http://www.waldar.org/blog/200908/nocoug-sql-challenge-author-solution-tsql-challenge-12/feed</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>TSQL Challenge #11 Using Recursive CTE</title>
		<link>http://www.waldar.org/blog/200907/tsql-challenge-11-recursive-cte</link>
		<comments>http://www.waldar.org/blog/200907/tsql-challenge-11-recursive-cte#comments</comments>
		<pubDate>Tue, 28 Jul 2009 04:00:41 +0000</pubDate>
		<dc:creator>Waldar</dc:creator>
				<category><![CDATA[SQLing]]></category>
		<category><![CDATA[Challenges]]></category>
		<category><![CDATA[cte]]></category>
		<category><![CDATA[order by]]></category>
		<category><![CDATA[outer join]]></category>
		<category><![CDATA[TSQL]]></category>

		<guid isPermaLink="false">http://www.waldar.org/blog/?p=363</guid>
		<description><![CDATA[Here is my proposal about the TSQL Challenge #11.
Given a product table, and a coupon table, we have to find within one or two coupons which combination gives the best discount, with additional rules :

 the discount price can not be less than 70% of the original price
 the total amount of the discount can [...]]]></description>
		<wfw:commentRss>http://www.waldar.org/blog/200907/tsql-challenge-11-recursive-cte/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>NoCOUG Got Nine, TSQL Got Eleven</title>
		<link>http://www.waldar.org/blog/200907/nocoug-got-nine-tsql-got-eleven</link>
		<comments>http://www.waldar.org/blog/200907/nocoug-got-nine-tsql-got-eleven#comments</comments>
		<pubDate>Mon, 20 Jul 2009 01:01:37 +0000</pubDate>
		<dc:creator>Waldar</dc:creator>
				<category><![CDATA[SQLing]]></category>
		<category><![CDATA[Challenges]]></category>
		<category><![CDATA[NoCOUG]]></category>
		<category><![CDATA[TSQL]]></category>

		<guid isPermaLink="false">http://www.waldar.org/blog/?p=352</guid>
		<description><![CDATA[NoCOUG

Well, I'm not really comparing comparable numbers here.
The NoCOUG last submit date was the last day of june, and therefore it is past.
Iggy Fernandez wrote about the nine different solutions he received (I very like the title he has chosen) !
I'm the seventh in the list there.
As I told before, my favorite solution to this [...]]]></description>
		<wfw:commentRss>http://www.waldar.org/blog/200907/nocoug-got-nine-tsql-got-eleven/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Is Distinct A Synonym To Order By In MS SQL Server ?</title>
		<link>http://www.waldar.org/blog/200907/is-distinct-a-synonym-to-order-by-in-ms-sql-server</link>
		<comments>http://www.waldar.org/blog/200907/is-distinct-a-synonym-to-order-by-in-ms-sql-server#comments</comments>
		<pubDate>Fri, 10 Jul 2009 01:32:00 +0000</pubDate>
		<dc:creator>Waldar</dc:creator>
				<category><![CDATA[SQLing]]></category>
		<category><![CDATA[cte]]></category>
		<category><![CDATA[distinct]]></category>
		<category><![CDATA[Explain plan]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[sort]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[Tom Kyte]]></category>
		<category><![CDATA[TSQL]]></category>

		<guid isPermaLink="false">http://www.waldar.org/blog/?p=313</guid>
		<description><![CDATA[This afternoon, I was chatting with Antoine Gémis about T-SQL, and this subject came on the table.
He was asking if, in my opinion, using both a distinct and an order by in the same statement would make the query worst due to the fact that distinct is already performing a sort on his own.
Working mostly [...]]]></description>
		<wfw:commentRss>http://www.waldar.org/blog/200907/is-distinct-a-synonym-to-order-by-in-ms-sql-server/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>My TSQL Challenge 10 Pivot-UnPivot Solution</title>
		<link>http://www.waldar.org/blog/200906/my-tsql-challenge-10-pivot-unpivot-solution</link>
		<comments>http://www.waldar.org/blog/200906/my-tsql-challenge-10-pivot-unpivot-solution#comments</comments>
		<pubDate>Mon, 29 Jun 2009 22:00:22 +0000</pubDate>
		<dc:creator>Waldar</dc:creator>
				<category><![CDATA[SQLing]]></category>
		<category><![CDATA[analytic functions]]></category>
		<category><![CDATA[Challenges]]></category>
		<category><![CDATA[Pivot]]></category>
		<category><![CDATA[TSQL]]></category>
		<category><![CDATA[Unpivot]]></category>

		<guid isPermaLink="false">http://www.waldar.org/blog/?p=275</guid>
		<description><![CDATA[This is the query I sent to the TC team. I published it when I sent it, but they prefer to keep solution secret as long as the closure date isn't in the past, which I can understand.
I had fun using PIVOT and UNPIVOT operators to reduce the query size.
PIVOT / UNPIVOT syntax isn't part [...]]]></description>
		<wfw:commentRss>http://www.waldar.org/blog/200906/my-tsql-challenge-10-pivot-unpivot-solution/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>TSQL Challenge #10, How To Process Horizontal Sorting</title>
		<link>http://www.waldar.org/blog/200906/tsql-challenge-10-how-to-process-horizontal-sorting</link>
		<comments>http://www.waldar.org/blog/200906/tsql-challenge-10-how-to-process-horizontal-sorting#comments</comments>
		<pubDate>Wed, 24 Jun 2009 01:11:08 +0000</pubDate>
		<dc:creator>Waldar</dc:creator>
				<category><![CDATA[SQLing]]></category>
		<category><![CDATA[Challenges]]></category>
		<category><![CDATA[sort]]></category>
		<category><![CDATA[TSQL]]></category>

		<guid isPermaLink="false">http://www.waldar.org/blog/?p=225</guid>
		<description><![CDATA[Beyond Relational have released their last T-SQL Challenge, it's already number 10 !
French version has been translated on Antoine Gémis's blog.
Jacob Sebastian and the TC team is really active and involved in helping people to improve themselves with SQL and T-SQL.
For this challenge they offer a Free Training Webcast for those who have problems in [...]]]></description>
		<wfw:commentRss>http://www.waldar.org/blog/200906/tsql-challenge-10-how-to-process-horizontal-sorting/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Another TSQL Challenge : How To Handle Breaks !</title>
		<link>http://www.waldar.org/blog/200906/tsql-challenge-nine</link>
		<comments>http://www.waldar.org/blog/200906/tsql-challenge-nine#comments</comments>
		<pubDate>Fri, 05 Jun 2009 01:38:29 +0000</pubDate>
		<dc:creator>Waldar</dc:creator>
				<category><![CDATA[SQLing]]></category>
		<category><![CDATA[analytic functions]]></category>
		<category><![CDATA[Challenges]]></category>
		<category><![CDATA[cte]]></category>
		<category><![CDATA[TSQL]]></category>

		<guid isPermaLink="false">http://www.waldar.org/blog/?p=168</guid>
		<description><![CDATA[Beyondrelational published their new TSQL Challenge #9, and as usual Antoine Gémis translated it in french.
They have taken redefined the goal about those challenges which I think is a very nice move.
The goal of TSQL Challenges is to help people enhance their SET based query writing skills.
Most of the times, a SET based query performs [...]]]></description>
		<wfw:commentRss>http://www.waldar.org/blog/200906/tsql-challenge-nine/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Challenges !!!</title>
		<link>http://www.waldar.org/blog/200905/challenges</link>
		<comments>http://www.waldar.org/blog/200905/challenges#comments</comments>
		<pubDate>Wed, 27 May 2009 23:33:40 +0000</pubDate>
		<dc:creator>Waldar</dc:creator>
				<category><![CDATA[SQLing]]></category>
		<category><![CDATA[bitand]]></category>
		<category><![CDATA[Challenges]]></category>
		<category><![CDATA[Connect By]]></category>
		<category><![CDATA[cte]]></category>
		<category><![CDATA[Hierarchy]]></category>
		<category><![CDATA[NoCOUG]]></category>
		<category><![CDATA[TSQL]]></category>

		<guid isPermaLink="false">http://www.waldar.org/blog/?p=125</guid>
		<description><![CDATA[TSQL Challenge
 
Last month I answered about a SQL Challenge from Antoine Gemis (french here). My solution wasn't very nice, I used a flaw in the data to provide an easy query with basic outer joining.
As the only challenger, I won it !
Antoine's told be about some regular TSQL Challenges (meaning SQL Server) but i didn't [...]]]></description>
		<wfw:commentRss>http://www.waldar.org/blog/200905/challenges/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
