• There are several very good examples in Technet: http://technet.microsoft.com/en-us/library/ms189461.aspx

    Another example, using it within Row_Number: http://sqlrambling.net/2013/11/04/row_number-basic-example/