Forum Replies Created

Viewing post 1 (of 1 total)

  • RE: Ranking using 2 columns in T-SQL 2012

    This seems to work

    SELECT accountname,invoice_date, ROW_NUMBER()

    OVER(PARTITION BY AccountName Order by INVOICE_DATE) as RankOrder from dbo.sagesales

    where AccountName is not null

    Insert help from above

    But now I want to update a...

Viewing post 1 (of 1 total)