rownum
Bill_Ross
Posts: 20
I love the Over Partition:
row_number() OVER ( Partition BY <foreignkey, varchar> order by <foreignkey,varchar> ) AS [Seq]
Ctrl-Shit-M to populate
row_number() OVER ( Partition BY <foreignkey, varchar> order by <foreignkey,varchar> ) AS [Seq]
Ctrl-Shit-M to populate