Link to home
Start Free TrialLog in
Avatar of msmid
msmidFlag for Slovenia

asked on

RANK() functionm in SQL 2000

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
ASKER CERTIFIED SOLUTION
Avatar of Guy Hengel [angelIII / a3]
Guy Hengel [angelIII / a3]
Flag of Luxembourg image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Hi msmid,

I think rank() is only available in 2005

Apresto
sorry for the dup angel - your too damn quick :o)

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