<?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/"
	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>Comments on: SQL SERVER &#8211; 2005 &#8211; Sample Example of RANKING Functions &#8211; ROW_NUMBER, RANK, DENSE_RANK, NTILE</title>
	<atom:link href="http://blog.sqlauthority.com/2007/10/09/sql-server-2005-sample-example-of-ranking-functions-row_number-rank-dense_rank-ntile/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.sqlauthority.com/2007/10/09/sql-server-2005-sample-example-of-ranking-functions-row_number-rank-dense_rank-ntile/</link>
	<description>Notes of a SQL Server MVP and Database Administrator</description>
	<lastBuildDate>Sat, 21 Nov 2009 05:54:09 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Imran Mohammed</title>
		<link>http://blog.sqlauthority.com/2007/10/09/sql-server-2005-sample-example-of-ranking-functions-row_number-rank-dense_rank-ntile/#comment-56781</link>
		<dc:creator>Imran Mohammed</dc:creator>
		<pubDate>Mon, 19 Oct 2009 02:45:43 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/10/09/sql-server-2005-sample-example-of-ranking-functions-row_number-rank-dense_rank-ntile/#comment-56781</guid>
		<description>@Yogitha bali g.s

Question : Display the different types of credit caeds used for purchasing products?

Answer : 
VISA
MASTER
AMERICAN EXPRESS
Blah Blah....

How I am I suppose to know this information. 

Please post your complete question, with complete details. 

~ IM.</description>
		<content:encoded><![CDATA[<p>@Yogitha bali g.s</p>
<p>Question : Display the different types of credit caeds used for purchasing products?</p>
<p>Answer :<br />
VISA<br />
MASTER<br />
AMERICAN EXPRESS<br />
Blah Blah&#8230;.</p>
<p>How I am I suppose to know this information. </p>
<p>Please post your complete question, with complete details. </p>
<p>~ IM.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: yogitha bali g.s</title>
		<link>http://blog.sqlauthority.com/2007/10/09/sql-server-2005-sample-example-of-ranking-functions-row_number-rank-dense_rank-ntile/#comment-56770</link>
		<dc:creator>yogitha bali g.s</dc:creator>
		<pubDate>Sat, 17 Oct 2009 10:50:52 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/10/09/sql-server-2005-sample-example-of-ranking-functions-row_number-rank-dense_rank-ntile/#comment-56770</guid>
		<description>Display the different types of credit caeds used for purchasing products?</description>
		<content:encoded><![CDATA[<p>Display the different types of credit caeds used for purchasing products?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: hanu</title>
		<link>http://blog.sqlauthority.com/2007/10/09/sql-server-2005-sample-example-of-ranking-functions-row_number-rank-dense_rank-ntile/#comment-55885</link>
		<dc:creator>hanu</dc:creator>
		<pubDate>Tue, 15 Sep 2009 11:46:07 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/10/09/sql-server-2005-sample-example-of-ranking-functions-row_number-rank-dense_rank-ntile/#comment-55885</guid>
		<description>hi sir,
   this is hanu, i have ony doubt that is


how to store dense_rank() function results in sqlserver database.


give me solution with example, thank u sir

ex:

sid    same    marks     rank
1        hanu      68       3   
2        bhanu     78        2 
3        ramu      80      1</description>
		<content:encoded><![CDATA[<p>hi sir,<br />
   this is hanu, i have ony doubt that is</p>
<p>how to store dense_rank() function results in sqlserver database.</p>
<p>give me solution with example, thank u sir</p>
<p>ex:</p>
<p>sid    same    marks     rank<br />
1        hanu      68       3<br />
2        bhanu     78        2<br />
3        ramu      80      1</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hatic</title>
		<link>http://blog.sqlauthority.com/2007/10/09/sql-server-2005-sample-example-of-ranking-functions-row_number-rank-dense_rank-ntile/#comment-53924</link>
		<dc:creator>Hatic</dc:creator>
		<pubDate>Tue, 21 Jul 2009 15:10:59 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/10/09/sql-server-2005-sample-example-of-ranking-functions-row_number-rank-dense_rank-ntile/#comment-53924</guid>
		<description>Hi Pinal, 
I&#039;m trying to convert these two rows to access sql.

dense_rank() over(partition by field1 order by field2) as name1,

row_number() over(partition by fld1, (dense_rank() over(partition by fldnm1 order by fldnm2)) order by fld2) as name2

can you help me?
thanks in advance</description>
		<content:encoded><![CDATA[<p>Hi Pinal,<br />
I&#8217;m trying to convert these two rows to access sql.</p>
<p>dense_rank() over(partition by field1 order by field2) as name1,</p>
<p>row_number() over(partition by fld1, (dense_rank() over(partition by fldnm1 order by fldnm2)) order by fld2) as name2</p>
<p>can you help me?<br />
thanks in advance</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Martin</title>
		<link>http://blog.sqlauthority.com/2007/10/09/sql-server-2005-sample-example-of-ranking-functions-row_number-rank-dense_rank-ntile/#comment-53787</link>
		<dc:creator>Martin</dc:creator>
		<pubDate>Fri, 17 Jul 2009 08:17:08 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/10/09/sql-server-2005-sample-example-of-ranking-functions-row_number-rank-dense_rank-ntile/#comment-53787</guid>
		<description>Hi Pinal,

I try to determine the newest Price from multiple Items in a PriceTable. In Oracle, I can do this with ranking functions:

SELECT ItemId, MAX(Price) KEEP(DENSE_RANK FIRST ORDER BY FromDate DESC) AS Price
FROM PriceTable
GROUP BY ItemId

Is it possible to do the same with ranking functions in MSSQL?

Thanks 
Martin</description>
		<content:encoded><![CDATA[<p>Hi Pinal,</p>
<p>I try to determine the newest Price from multiple Items in a PriceTable. In Oracle, I can do this with ranking functions:</p>
<p>SELECT ItemId, MAX(Price) KEEP(DENSE_RANK FIRST ORDER BY FromDate DESC) AS Price<br />
FROM PriceTable<br />
GROUP BY ItemId</p>
<p>Is it possible to do the same with ranking functions in MSSQL?</p>
<p>Thanks<br />
Martin</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SQL SERVER - 2008 - Interview Questions and Answers - Part 8 Journey to SQL Authority with Pinal Dave</title>
		<link>http://blog.sqlauthority.com/2007/10/09/sql-server-2005-sample-example-of-ranking-functions-row_number-rank-dense_rank-ntile/#comment-47490</link>
		<dc:creator>SQL SERVER - 2008 - Interview Questions and Answers - Part 8 Journey to SQL Authority with Pinal Dave</dc:creator>
		<pubDate>Thu, 26 Feb 2009 12:08:07 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/10/09/sql-server-2005-sample-example-of-ranking-functions-row_number-rank-dense_rank-ntile/#comment-47490</guid>
		<description>[...] Returns the rank of rows within the partition of a result set, without any gaps in the ranking. (Read More Here [...]</description>
		<content:encoded><![CDATA[<p>[...] Returns the rank of rows within the partition of a result set, without any gaps in the ranking. (Read More Here [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SQLAuthority News - Best Articles on SQLAuthority.com Journey to SQL Authority with Pinal Dave</title>
		<link>http://blog.sqlauthority.com/2007/10/09/sql-server-2005-sample-example-of-ranking-functions-row_number-rank-dense_rank-ntile/#comment-47253</link>
		<dc:creator>SQLAuthority News - Best Articles on SQLAuthority.com Journey to SQL Authority with Pinal Dave</dc:creator>
		<pubDate>Tue, 24 Feb 2009 12:11:09 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/10/09/sql-server-2005-sample-example-of-ranking-functions-row_number-rank-dense_rank-ntile/#comment-47253</guid>
		<description>[...] SQL SERVER - 2005 - Sample Example of RANKING Functions - ROW_NUMBER, RANK, DENSE_RANK, NTILE [...]</description>
		<content:encoded><![CDATA[<p>[...] SQL SERVER &#8211; 2005 &#8211; Sample Example of RANKING Functions &#8211; ROW_NUMBER, RANK, DENSE_RANK, NTILE [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: hariharan</title>
		<link>http://blog.sqlauthority.com/2007/10/09/sql-server-2005-sample-example-of-ranking-functions-row_number-rank-dense_rank-ntile/#comment-45149</link>
		<dc:creator>hariharan</dc:creator>
		<pubDate>Mon, 29 Dec 2008 06:43:20 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/10/09/sql-server-2005-sample-example-of-ranking-functions-row_number-rank-dense_rank-ntile/#comment-45149</guid>
		<description>how to get values like this is sqlserver query?

Order Count,1,2,1-2,5,63,5-63,64,64,64,65,80,65-80,</description>
		<content:encoded><![CDATA[<p>how to get values like this is sqlserver query?</p>
<p>Order Count,1,2,1-2,5,63,5-63,64,64,64,65,80,65-80,</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Varun.c</title>
		<link>http://blog.sqlauthority.com/2007/10/09/sql-server-2005-sample-example-of-ranking-functions-row_number-rank-dense_rank-ntile/#comment-40745</link>
		<dc:creator>Varun.c</dc:creator>
		<pubDate>Thu, 24 Jul 2008 09:13:07 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/10/09/sql-server-2005-sample-example-of-ranking-functions-row_number-rank-dense_rank-ntile/#comment-40745</guid>
		<description>Hi,

It was an amazing article with apt example.
AWESOME STUFF!!!</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>It was an amazing article with apt example.<br />
AWESOME STUFF!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jeevan</title>
		<link>http://blog.sqlauthority.com/2007/10/09/sql-server-2005-sample-example-of-ranking-functions-row_number-rank-dense_rank-ntile/#comment-39043</link>
		<dc:creator>jeevan</dc:creator>
		<pubDate>Fri, 06 Jun 2008 06:15:58 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/10/09/sql-server-2005-sample-example-of-ranking-functions-row_number-rank-dense_rank-ntile/#comment-39043</guid>
		<description>hello,

Please clafiry this doubt In MYSQL query can use like this
select * FROM `table` WHERE MATCH (`email`) AGAINST (&#039;+firstname.lastname@hotmail.com&#039;); 
where incase of MSSQL what quey can use to select record from database exact records ..for example in textbox i&#039;m entering chennai,software,IT. i want all the records related to this string .. please reply</description>
		<content:encoded><![CDATA[<p>hello,</p>
<p>Please clafiry this doubt In MYSQL query can use like this<br />
select * FROM `table` WHERE MATCH (`email`) AGAINST (&#8216;+firstname.lastname@hotmail.com&#8217;);<br />
where incase of MSSQL what quey can use to select record from database exact records ..for example in textbox i&#8217;m entering chennai,software,IT. i want all the records related to this string .. please reply</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: azhar ali khan</title>
		<link>http://blog.sqlauthority.com/2007/10/09/sql-server-2005-sample-example-of-ranking-functions-row_number-rank-dense_rank-ntile/#comment-37285</link>
		<dc:creator>azhar ali khan</dc:creator>
		<pubDate>Thu, 08 May 2008 08:53:13 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/10/09/sql-server-2005-sample-example-of-ranking-functions-row_number-rank-dense_rank-ntile/#comment-37285</guid>
		<description>CREATE VIEW testview AS SELECT ROW_NUMBER() OVER (ORDER BY )-1 as autoIndex, 

* FROM </description>
		<content:encoded><![CDATA[<p>CREATE VIEW testview AS SELECT ROW_NUMBER() OVER (ORDER BY )-1 as autoIndex, </p>
<p>* FROM</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: azhar ali khan</title>
		<link>http://blog.sqlauthority.com/2007/10/09/sql-server-2005-sample-example-of-ranking-functions-row_number-rank-dense_rank-ntile/#comment-37284</link>
		<dc:creator>azhar ali khan</dc:creator>
		<pubDate>Thu, 08 May 2008 08:52:37 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/10/09/sql-server-2005-sample-example-of-ranking-functions-row_number-rank-dense_rank-ntile/#comment-37284</guid>
		<description>yes we can use try this.................
CREATE VIEW testview AS SELECT ROW_NUMBER() OVER (ORDER BY )-1 as autoIndex, 

* FROM </description>
		<content:encoded><![CDATA[<p>yes we can use try this&#8230;&#8230;&#8230;&#8230;&#8230;..<br />
CREATE VIEW testview AS SELECT ROW_NUMBER() OVER (ORDER BY )-1 as autoIndex, </p>
<p>* FROM</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: vikram</title>
		<link>http://blog.sqlauthority.com/2007/10/09/sql-server-2005-sample-example-of-ranking-functions-row_number-rank-dense_rank-ntile/#comment-35358</link>
		<dc:creator>vikram</dc:creator>
		<pubDate>Wed, 23 Apr 2008 04:02:13 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/10/09/sql-server-2005-sample-example-of-ranking-functions-row_number-rank-dense_rank-ntile/#comment-35358</guid>
		<description>Hi Pinal,

I have MS SQL 2000 on production server and as you know these functions are not available on same. My developer has used these functions extensively in application and insisting me to upgrade MS SQL 2000 to MS SQL 2005. This is not correct time for me to upgrade my system so can you please tell me the way out. Is it possible to use these functions in MS SQL 2000 by installing some patches or sp or by installing only t-sql of MS SQL 2005.

Thanks

Vikram</description>
		<content:encoded><![CDATA[<p>Hi Pinal,</p>
<p>I have MS SQL 2000 on production server and as you know these functions are not available on same. My developer has used these functions extensively in application and insisting me to upgrade MS SQL 2000 to MS SQL 2005. This is not correct time for me to upgrade my system so can you please tell me the way out. Is it possible to use these functions in MS SQL 2000 by installing some patches or sp or by installing only t-sql of MS SQL 2005.</p>
<p>Thanks</p>
<p>Vikram</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sudhir</title>
		<link>http://blog.sqlauthority.com/2007/10/09/sql-server-2005-sample-example-of-ranking-functions-row_number-rank-dense_rank-ntile/#comment-24597</link>
		<dc:creator>Sudhir</dc:creator>
		<pubDate>Thu, 06 Dec 2007 13:26:08 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/10/09/sql-server-2005-sample-example-of-ranking-functions-row_number-rank-dense_rank-ntile/#comment-24597</guid>
		<description>Hi Pinal,

Can we use ROW_NUMBER() function in views ?
If not then what is the alternative method to give the row numbers in view

Thanks
-Sudhir</description>
		<content:encoded><![CDATA[<p>Hi Pinal,</p>
<p>Can we use ROW_NUMBER() function in views ?<br />
If not then what is the alternative method to give the row numbers in view</p>
<p>Thanks<br />
-Sudhir</p>
]]></content:encoded>
	</item>
</channel>
</rss>
