<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: The SELECT item identified by the ORDER BY number %d contains a variable as part of the expression identifying a column position. Variables are only allowed when ordering by an expression referencing a column name.</title>
	<atom:link href="http://www.sql-server-performance.com/2009/select-item-contains-variable-as-part-of-expression/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.sql-server-performance.com/2009/select-item-contains-variable-as-part-of-expression/</link>
	<description>SQL Server Performance Tuning</description>
	<lastBuildDate>Fri, 17 May 2013 13:31:24 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
	<item>
		<title>By: FArhad</title>
		<link>http://www.sql-server-performance.com/2009/select-item-contains-variable-as-part-of-expression/#comment-621</link>
		<dc:creator>FArhad</dc:creator>
		<pubDate>Mon, 19 Sep 2011 11:39:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.sql-server-performance.com/?=1739#comment-621</guid>
		<description><![CDATA[DECLARE @orderCol varchar(50)
set @orderCol=&#039;dep_Name&#039;
select * from Department_Table order by CONVERT(varchar(20), @orderCol)]]></description>
		<content:encoded><![CDATA[<p>DECLARE @orderCol varchar(50)<br />
set @orderCol=&#8217;dep_Name&#8217;<br />
select * from Department_Table order by CONVERT(varchar(20), @orderCol)</p>
]]></content:encoded>
	</item>
</channel>
</rss>
