C9 Bytes: SQL Server Rank() with Stephen Forte

Download this episode

Download Video


Stephen Forte demonstrates the little-known SQL Server Rank() statement and how it can be used to easily display categories and subcategories of Ranking data.



Available formats for this video:

Actual format may change based on video formats available and browser capability.

    The Discussion

    • User profile image

      A great option that must appear in SQL standard as well and perhaps thats why its not implemented by other RDBMS vendors, in an effort to keep the SQL staement set as close to the standard as possible.

      Same functionality can be introduced in most databses through a series of SQL statements or as an embeded function.

      Unless part of SQL standard, even such good additions come at a price. In a query intensive environment, where a person is likely to enter more than 5-10 rank queries per day, likt the Olympics case for instance, if the underlying database is changed to or changed from SQL server, he is likely to find himself in trouble while adopting to changes.

    • User profile image
      I like this new format of very short videos that focus on 1 feature. Are there more C9 Bytes planned?
    • User profile image

      Thanks, yes, lots more coming, we probably have at least another five from TechEd Smiley

    Comments closed

    Comments have been closed since this content was published more than 30 days ago, but if you'd like to send us feedback you can Contact Us.