Solved

RANK() functionm in SQL 2000

Posted on 2006-07-20
3
1,593 Views
Last Modified: 2011-10-03
Hi,

when I'm trying to use RANK() function in SQL 2000 I get an error [Microsoft][ODBC SQL Server Driver][SQL Server]'RANK' is not a recognized function name.

SELECT RANK() OVER (PARTITION BY Name ORDER BY Name) AS Rank, FolderId FROM Folder

Mitja
0
Comment
Question by:msmid
  • 2
3 Comments
 
LVL 143

Accepted Solution

by:
Guy Hengel [angelIII / a3] earned 125 total points
ID: 17145943
RANK is only available as from SQL Server 2005
0
 
LVL 23

Expert Comment

by:apresto
ID: 17145949
Hi msmid,

I think rank() is only available in 2005

Apresto
0
 
LVL 23

Expert Comment

by:apresto
ID: 17145954
sorry for the dup angel - your too damn quick :o)

extra info anyway:  http://support.microsoft.com/?id=186133
0

Featured Post

Free eBook: Backup on AWS

Everything you need to know about backup and disaster recovery with AWS, for FREE!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
In this article we will learn how to fix  “Cannot install SQL Server 2014 Service Pack 2: Unable to install windows installer msi file” error ?
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.

685 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question