Select
RowNumber = row_number() over(order by MonthLabel),
MonthLabel
from (Select distinct MonthLabel, Year from dbo.dimTime) dt
"Give someone a program, and frustrate them for a day; Teach someone to program, and frustrate them for a lifetime." - Unknown
No comments:
Post a Comment