<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:copyright="http://blogs.law.harvard.edu/tech/rss" xmlns:image="http://purl.org/rss/1.0/modules/image/">
    <channel>
        <title>Best of the forums</title>
        <link>http://weblogs.sqlteam.com/damianm/category/4.aspx</link>
        <description>Best of the forums</description>
        <language>en-US</language>
        <copyright>Damian Maclennan</copyright>
        <managingEditor>merkin@sqlteam.com</managingEditor>
        <generator>Subtext Version 1.9.4.0</generator>
        <item>
            <title>Best of the forums</title>
            <link>http://weblogs.sqlteam.com/damianm/archive/2003/10/04/250.aspx</link>
            <description>&lt;p&gt;I hope everyone is enjoying the SQLTeam blogs so far. Graz, Rob and I have been talking about this idea for a little while, well.. we knew we wanted to do &lt;i&gt;something&lt;/i&gt;, but weren't totally sure of the format. One of the things I wanted to do was to have a way to highlight some of the really cool solutions that get posted every day in our &lt;a href="http://www.sqlteam.com/forums/"&gt;forums&lt;/a&gt;. Because of the nature of forum software, once a question is answered it slowly drops down the list until they aren't visible any more. So I wanted a way to bring out the best ones in a slightly more permanent manner. Allow me to present the first (of what hopefully will be many) posts under the heading &lt;b&gt;Best of the forums&lt;/b&gt;.&lt;/p&gt;&lt;p&gt;

&lt;/p&gt;&lt;p&gt;Today's forum thread is a few months old now, I've had it set aside waiting for this. It involves dynamic sort orders in a query. We have a &lt;a href="http://www.sqlteam.com/item.asp?ItemID=2209"&gt;great article&lt;/a&gt; on SQLTeam about this, but one of the limitations of this method is the fact that the columns you want to sort by have to be the same data type. If you read the comments to this article, you find out that the most common way to work around this is using multiple sort columns.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://weblogs.sqlteam.com/davidm/"&gt;DavidM&lt;/a&gt; posted a great answer to this problem &lt;a href="http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=26925"&gt;here in this thread&lt;/a&gt;. As soon as I read it I slapped my head and went "DUH". It was so simple, yet never crossed my mind before. Read, learn and enjoy!&lt;/p&gt;

&lt;p&gt;This is also going to go up on the main &lt;a href="http://www.sqlteam.com/"&gt;SQLTeam&lt;/a&gt; page, if anybody sees something in the forums that you would like to see highlighted, drop me a line and I'll take a look.&lt;/p&gt;
&lt;img src="http://weblogs.sqlteam.com/damianm/aggbug/250.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Damian Maclennan</dc:creator>
            <guid>http://weblogs.sqlteam.com/damianm/archive/2003/10/04/250.aspx</guid>
            <pubDate>Sat, 04 Oct 2003 14:42:00 GMT</pubDate>
            <comments>http://weblogs.sqlteam.com/damianm/archive/2003/10/04/250.aspx#feedback</comments>
            <slash:comments>1</slash:comments>
            <wfw:commentRss>http://weblogs.sqlteam.com/damianm/comments/commentRss/250.aspx</wfw:commentRss>
        </item>
    </channel>
</rss>