Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 Transact-SQL (2005)
 Dense_Rank()

Author  Topic 

Thiyagu_04
Starting Member

37 Posts

Posted - 2009-02-12 : 01:00:10
I want to start with 10 instead of 1 in Dense_Rank() function

SwePeso
Patron Saint of Lost Yaks

30421 Posts

Posted - 2009-02-12 : 01:02:18
quote:
Originally posted by Thiyagu_04

I want to start with 10 instead of 1 in Dense_Rank() function
select 9 + dense_rank() over (...) as ...
from table1


E 12°55'05.63"
N 56°04'39.26"
Go to Top of Page
   

- Advertisement -