<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Sanjay @ Excel</title>
	<atom:link href="http://sanjaybhaskar.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://sanjaybhaskar.wordpress.com</link>
	<description></description>
	<lastBuildDate>Fri, 07 Aug 2009 09:15:52 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='sanjaybhaskar.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Sanjay @ Excel</title>
		<link>http://sanjaybhaskar.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://sanjaybhaskar.wordpress.com/osd.xml" title="Sanjay @ Excel" />
	<atom:link rel='hub' href='http://sanjaybhaskar.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Humorous SQL Cake &#8211; Funny SQL Cake</title>
		<link>http://sanjaybhaskar.wordpress.com/2009/08/07/humorous-sql-cake-funny-sql-cake/</link>
		<comments>http://sanjaybhaskar.wordpress.com/2009/08/07/humorous-sql-cake-funny-sql-cake/#comments</comments>
		<pubDate>Fri, 07 Aug 2009 09:13:54 +0000</pubDate>
		<dc:creator>sanjaybhaskar</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://sanjaybhaskar.wordpress.com/2009/08/07/humorous-sql-cake-%e2%80%93-funny-sql-cake/</guid>
		<description><![CDATA[Here is a an interesting SQL Cakes Let me know which of the following images you find the most interesting. Hope you enjoyed watching them!<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sanjaybhaskar.wordpress.com&amp;blog=8434491&amp;post=57&amp;subd=sanjaybhaskar&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;">Here is a an interesting SQL Cakes</p>
<p style="text-align:justify;">Let me know which of the following images you find the most interesting.</p>
<p style="text-align:justify;"><img src="http://www.pinaldave.com/bimg/cake/cake0.jpg" alt="" width="450" height="299" /></p>
<p style="text-align:justify;"><img src="http://www.pinaldave.com/bimg/cake/cake1.jpg" alt="" width="500" height="375" /></p>
<p style="text-align:justify;"><img src="http://www.pinaldave.com/bimg/cake/cake2.jpg" alt="" width="500" height="375" /></p>
<p style="text-align:justify;"><img src="http://www.pinaldave.com/bimg/cake/cake3.jpg" alt="" width="500" height="375" /></p>
<p style="text-align:justify;"><img src="http://www.pinaldave.com/bimg/cake/cake5.jpg" alt="" width="396" height="459" /></p>
<p style="text-align:justify;"><img src="http://www.pinaldave.com/bimg/cake/cake6.jpg" alt="" width="500" height="375" /></p>
<p style="text-align:justify;">Hope you enjoyed watching them!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sanjaybhaskar.wordpress.com/57/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sanjaybhaskar.wordpress.com/57/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sanjaybhaskar.wordpress.com/57/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sanjaybhaskar.wordpress.com/57/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sanjaybhaskar.wordpress.com/57/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sanjaybhaskar.wordpress.com/57/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sanjaybhaskar.wordpress.com/57/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sanjaybhaskar.wordpress.com/57/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sanjaybhaskar.wordpress.com/57/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sanjaybhaskar.wordpress.com/57/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sanjaybhaskar.wordpress.com/57/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sanjaybhaskar.wordpress.com/57/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sanjaybhaskar.wordpress.com/57/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sanjaybhaskar.wordpress.com/57/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sanjaybhaskar.wordpress.com&amp;blog=8434491&amp;post=57&amp;subd=sanjaybhaskar&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sanjaybhaskar.wordpress.com/2009/08/07/humorous-sql-cake-funny-sql-cake/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c39182d7e5eff7f2eba6bc0316ea2c78?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sanjaybhaskar</media:title>
		</media:content>

		<media:content url="http://www.pinaldave.com/bimg/cake/cake0.jpg" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/cake/cake1.jpg" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/cake/cake2.jpg" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/cake/cake3.jpg" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/cake/cake5.jpg" medium="image" />

		<media:content url="http://www.pinaldave.com/bimg/cake/cake6.jpg" medium="image" />
	</item>
		<item>
		<title>MS SQL Server 2008 on my system</title>
		<link>http://sanjaybhaskar.wordpress.com/2009/07/07/ms-sql-server-2008-on-my-system/</link>
		<comments>http://sanjaybhaskar.wordpress.com/2009/07/07/ms-sql-server-2008-on-my-system/#comments</comments>
		<pubDate>Tue, 07 Jul 2009 13:35:38 +0000</pubDate>
		<dc:creator>sanjaybhaskar</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://sanjaybhaskar.wordpress.com/?p=52</guid>
		<description><![CDATA[I&#8217;m so much eager to work on sql 2008.  I&#8217;ve intalled it today.  I&#8217;l be more excited to learn new features in sql 2008.  Thanks to sys team and my manager for encouraging me in this.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sanjaybhaskar.wordpress.com&amp;blog=8434491&amp;post=52&amp;subd=sanjaybhaskar&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m so much eager to work on sql 2008.  I&#8217;ve intalled it today.  I&#8217;l be more excited to learn new features in sql 2008.  Thanks to sys team and my manager for encouraging me in this.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sanjaybhaskar.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sanjaybhaskar.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sanjaybhaskar.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sanjaybhaskar.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sanjaybhaskar.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sanjaybhaskar.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sanjaybhaskar.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sanjaybhaskar.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sanjaybhaskar.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sanjaybhaskar.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sanjaybhaskar.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sanjaybhaskar.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sanjaybhaskar.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sanjaybhaskar.wordpress.com/52/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sanjaybhaskar.wordpress.com&amp;blog=8434491&amp;post=52&amp;subd=sanjaybhaskar&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sanjaybhaskar.wordpress.com/2009/07/07/ms-sql-server-2008-on-my-system/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c39182d7e5eff7f2eba6bc0316ea2c78?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sanjaybhaskar</media:title>
		</media:content>
	</item>
		<item>
		<title>SQL Server 2008 New Features</title>
		<link>http://sanjaybhaskar.wordpress.com/2009/07/06/sql-server-2008-new-features/</link>
		<comments>http://sanjaybhaskar.wordpress.com/2009/07/06/sql-server-2008-new-features/#comments</comments>
		<pubDate>Mon, 06 Jul 2009 09:53:26 +0000</pubDate>
		<dc:creator>sanjaybhaskar</dc:creator>
				<category><![CDATA[MSSQL 2008]]></category>
		<category><![CDATA[SQL SERVER 2008]]></category>

		<guid isPermaLink="false">http://sanjaybhaskar.wordpress.com/?p=47</guid>
		<description><![CDATA[I am finding SQL Server 2008 very exciting. Every day it&#8217;s a new learning for me and my eyes glitter seeing the sweet surprises that SQL Server 2008 is bringing in for efficient data management. I like SQL Server because I realize that data is like the life blood for any business, any forecasting any [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sanjaybhaskar.wordpress.com&amp;blog=8434491&amp;post=47&amp;subd=sanjaybhaskar&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I am finding SQL Server 2008 very exciting. Every day it&#8217;s a new learning for me and my eyes glitter seeing the sweet surprises that SQL Server 2008 is bringing in for efficient data management. I like SQL Server because I realize that data is like the life blood for any business, any forecasting any strategic decisions to be taken depends on the facts and figures. When so many things depend on data then efficient presentation of data with precision is most important. Precision in Date and Time is important thing that we have to maintain. When the business is growing globally, it needs to maintain the Time Zones, precision of time in nanoseconds etc. So to cater to such requirements SQL Server 2008 &#8211; (Katmai) has introduced new date/time data types.</p>
<p>You can digg here to find more on <a href="http://technet.microsoft.com/en-us/library/cc721270.aspx#" target="_blank">new features in sql server 2008</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sanjaybhaskar.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sanjaybhaskar.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sanjaybhaskar.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sanjaybhaskar.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sanjaybhaskar.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sanjaybhaskar.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sanjaybhaskar.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sanjaybhaskar.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sanjaybhaskar.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sanjaybhaskar.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sanjaybhaskar.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sanjaybhaskar.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sanjaybhaskar.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sanjaybhaskar.wordpress.com/47/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sanjaybhaskar.wordpress.com&amp;blog=8434491&amp;post=47&amp;subd=sanjaybhaskar&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sanjaybhaskar.wordpress.com/2009/07/06/sql-server-2008-new-features/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c39182d7e5eff7f2eba6bc0316ea2c78?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sanjaybhaskar</media:title>
		</media:content>
	</item>
		<item>
		<title>TSQL Challenge 10: Horizontal and Vertical sorting of a result set</title>
		<link>http://sanjaybhaskar.wordpress.com/2009/07/04/tsql-challenge-10-horizontal-and-vertical-sorting-of-a-result-set/</link>
		<comments>http://sanjaybhaskar.wordpress.com/2009/07/04/tsql-challenge-10-horizontal-and-vertical-sorting-of-a-result-set/#comments</comments>
		<pubDate>Sat, 04 Jul 2009 10:20:27 +0000</pubDate>
		<dc:creator>sanjaybhaskar</dc:creator>
				<category><![CDATA[T-SQL]]></category>

		<guid isPermaLink="false">http://sanjaybhaskar.wordpress.com/?p=4</guid>
		<description><![CDATA[Again one more interesting challenge TSQL Challenge 10, as we know there is a keyword ORDER BY to sort the result set available in sql i.e vertical sorting, in this challenge we have to sort the data in Horizontal and Vertical also deleting the duplicate records as well. Its quite interesting play. Here is the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sanjaybhaskar.wordpress.com&amp;blog=8434491&amp;post=4&amp;subd=sanjaybhaskar&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Again one more interesting challenge <a title="TSQL Challenge 10" href="http://beyondrelational.com/blogs/tc/archive/2009/06/23/tsql-challenge-10-horizontal-and-vertical-sorting.aspx" target="_blank">TSQL Challenge 10</a>, as we know there is a keyword ORDER BY to sort the result set available in sql i.e vertical sorting, in this challenge we have to sort the data in Horizontal and Vertical also deleting the duplicate records as well. Its quite interesting play.</p>
<p>Here is the data</p>
<p><img class="size-full wp-image-11 alignnone" title="data" src="http://sanjaybhaskar.files.wordpress.com/2009/07/data1.jpg?w=109&#038;h=134" alt="data" width="109" height="134" /></p>
<p>Looking at the data, we need to do three tasks here.</p>
<p>1.  Sort the data in Columns wise i.e &#8220;2&#8243;, &#8220;1&#8243; and &#8220;3&#8243; , it should be arranged as &#8220;1&#8243;, &#8220;2&#8243; and &#8220;3&#8243;.</p>
<p>2. Sort the data in Row wise, as we already know.</p>
<p>3. Delete the duplicate records.</p>
<p>Output should be:</p>
<p><img class="size-full wp-image-12 alignnone" title="result" src="http://sanjaybhaskar.files.wordpress.com/2009/07/result.jpg?w=107&#038;h=94" alt="result" width="107" height="94" /></p>
<p>Now, let us see how we can achieve this. It very simple and tricky, will try to solve this in Two stage.</p>
<p><strong>First stage</strong></p>
<p><strong>Will try to identify the Horizontal Sorting Order, that makes life easier to solve this.</strong></p>
<p>a) First generate the row number for the original table making use of ranking function.<br />
&#8220;SELECT ROW_NUMBER() OVER (ORDER BY c1,c2,c3) AS RowNum, c1,c2,c3 FROM #t&#8221;</p>
<p><span style="text-decoration:underline;">Out put :</span></p>
<p><img class="alignnone size-full wp-image-22" title="result set a" src="http://sanjaybhaskar.files.wordpress.com/2009/07/result-set-a.jpg?w=151&#038;h=137" alt="result set a" width="151" height="137" /></p>
<p>b) Making use of above result set, try to obtain the Horizontal sorting order as a column called HorzSortOrder by applying row ranking function on RowNum</p>
<p>SELECT RowNum,<br />
ROW_NUMBER() OVER (PARTITION BY RowNum ORDER BY RowNum, ColValue) AS HorzSortOrder<br />
FROM (<br />
SELECT ROW_NUMBER() OVER (ORDER BY c1,c2,c3) AS RowNum, c1,c2,c3 FROM #t) p</p>
<p>c) Unpivot the Column name of (C1,C2,C3) as values for column called &#8220;ColName &#8221; and unvipot the values of  the cloumns (C1,C2,C3)  for the column &#8220;ColValue&#8221;</p>
<p><span style="text-decoration:underline;">Out put :</span></p>
<p><img class="alignnone size-full wp-image-23" title="result set a &amp; b" src="http://sanjaybhaskar.files.wordpress.com/2009/07/result-set-a-b.jpg?w=288&#038;h=366" alt="result set a &amp; b" width="288" height="366" /></p>
<p><em>Now we are one step behind to get the final output from the above result set</em></p>
<p><strong>Second Stage</strong></p>
<p>a)  Making use of case statement over Horizontal sorting order column (HorzSortOrder) select the value of ColValue column by applying the aggregate function(MAX)</p>
<p>SELECT MAX(CASE WHEN HorzSortOrder = 1 THEN ColValue END) AS c1,<br />
MAX(CASE WHEN HorzSortOrder = 2 THEN ColValue END) AS c2,<br />
MAX(CASE WHEN HorzSortOrder = 3 THEN ColValue END) AS c3<br />
FROM cteHorzSort<br />
GROUP BY RowNum</p>
<p><span style="text-decoration:underline;">Out Put :</span><br />
<img class="alignnone size-full wp-image-24" title="result set c" src="http://sanjaybhaskar.files.wordpress.com/2009/07/result-set-c.jpg?w=132&#038;h=137" alt="result set c" width="132" height="137" /></p>
<p>b) Now remove the duplicate rows just making a small addition DISTINCT.</p>
<p>SELECT distinct MAX(CASE WHEN HorzSortOrder = 1 THEN ColValue END) AS c1,<br />
MAX(CASE WHEN HorzSortOrder = 2 THEN ColValue END) AS c2,<br />
MAX(CASE WHEN HorzSortOrder = 3 THEN ColValue END) AS c3<br />
FROM cteHorzSort<br />
GROUP BY RowNum</p>
<p><span style="text-decoration:underline;">out put :</span><br />
<img class="alignnone size-full wp-image-25" title="result set ouput" src="http://sanjaybhaskar.files.wordpress.com/2009/07/result-set-ouput.jpg?w=115&#038;h=100" alt="result set ouput" width="115" height="100" /></p>
<p><strong>Here&#8217;s the complete source code</strong></p>
<p>CREATE TABLE #t (c1 CHAR(1), c2 CHAR(1), c3 CHAR(1))<br />
INSERT INTO #t (c1, c2, c3)<br />
SELECT &#8217;2&#8242;,&#8217;1&#8242;,&#8217;3&#8242; UNION ALL<br />
SELECT &#8217;3&#8242;,&#8217;2&#8242;,&#8217;1&#8242; UNION ALL<br />
SELECT &#8216;Z&#8217;,'X&#8217;,'Y&#8217; UNION ALL<br />
SELECT &#8216;B&#8217;,'C&#8217;,'D&#8217; UNION ALL<br />
SELECT &#8216;Y&#8217;,'Z&#8217;,'X&#8217; UNION ALL<br />
SELECT &#8216;B&#8217;,'C&#8217;,'A&#8217;</p>
<p>select * from #t</p>
<p>;WITH<br />
cteHorzSort AS<br />
(</p>
<p>SELECT RowNum, ColName, ColValue,<br />
ROW_NUMBER() OVER (PARTITION BY RowNum ORDER BY RowNum, ColValue) AS HorzSortOrder<br />
FROM (SELECT ROW_NUMBER() OVER (ORDER BY c1,c2,c3) AS RowNum, c1,c2,c3 FROM #t) p<br />
UNPIVOT (ColValue FOR ColName IN (c1,c2,c3)) AS nvp</p>
<p>)<br />
SELECT distinct MAX(CASE WHEN HorzSortOrder = 1 THEN ColValue END) AS c1,<br />
MAX(CASE WHEN HorzSortOrder = 2 THEN ColValue END) AS c2,<br />
MAX(CASE WHEN HorzSortOrder = 3 THEN ColValue END) AS c3<br />
FROM cteHorzSort<br />
GROUP BY RowNum</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sanjaybhaskar.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sanjaybhaskar.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sanjaybhaskar.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sanjaybhaskar.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sanjaybhaskar.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sanjaybhaskar.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sanjaybhaskar.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sanjaybhaskar.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sanjaybhaskar.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sanjaybhaskar.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sanjaybhaskar.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sanjaybhaskar.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sanjaybhaskar.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sanjaybhaskar.wordpress.com/4/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sanjaybhaskar.wordpress.com&amp;blog=8434491&amp;post=4&amp;subd=sanjaybhaskar&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sanjaybhaskar.wordpress.com/2009/07/04/tsql-challenge-10-horizontal-and-vertical-sorting-of-a-result-set/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c39182d7e5eff7f2eba6bc0316ea2c78?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sanjaybhaskar</media:title>
		</media:content>

		<media:content url="http://sanjaybhaskar.files.wordpress.com/2009/07/data1.jpg" medium="image">
			<media:title type="html">data</media:title>
		</media:content>

		<media:content url="http://sanjaybhaskar.files.wordpress.com/2009/07/result.jpg" medium="image">
			<media:title type="html">result</media:title>
		</media:content>

		<media:content url="http://sanjaybhaskar.files.wordpress.com/2009/07/result-set-a.jpg" medium="image">
			<media:title type="html">result set a</media:title>
		</media:content>

		<media:content url="http://sanjaybhaskar.files.wordpress.com/2009/07/result-set-a-b.jpg" medium="image">
			<media:title type="html">result set a &#38; b</media:title>
		</media:content>

		<media:content url="http://sanjaybhaskar.files.wordpress.com/2009/07/result-set-c.jpg" medium="image">
			<media:title type="html">result set c</media:title>
		</media:content>

		<media:content url="http://sanjaybhaskar.files.wordpress.com/2009/07/result-set-ouput.jpg" medium="image">
			<media:title type="html">result set ouput</media:title>
		</media:content>
	</item>
	</channel>
</rss>
