Solved

RANK() functionm in SQL 2000

Posted on 2006-07-20
3
1,590 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 Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

JSON is being used more and more, besides XML, and you surely wanted to parse the data out into SQL instead of doing it in some Javascript. The below function in SQL Server can do the job for you, returning a quick table with the parsed data.
Slowly Changing Dimension Transformation component in data task flow is very useful for us to manage and control how data changes in SSIS.
Via a live example combined with referencing Books Online, show some of the information that can be extracted from the Catalog Views in SQL Server.
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.

831 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