How would I duplicate the Rank function in a Sql Server Compact Edition SELECT statement?

Posted by AMissico on Stack Overflow See other posts from Stack Overflow or by AMissico
Published on 2010-06-11T21:31:03Z Indexed on 2010/06/11 21:42 UTC
Read the original article Hit count: 250

It doesn't look like SQL Server Compact Edition supports the RANK() function. (See Functions (SQL Server Compact Edition) at http://msdn.microsoft.com/en-us/library/ms174077(SQL.90).aspx).

How would I duplicate the RANK() function in a SQL Server Compact Edition SELECT statement.

(Please use Northwind.sdf for any sample select statements, as it is the only one I can open with SQL Server 2005 Management Studio.)

© Stack Overflow or respective owner

Related posts about sql

Related posts about tsql