Hi...!
To a similar table I need to add a row number...
Code:
GRP RowNR
73463 1
73463 2
73463 3
73463 4
53246 1
53246 2
78843 1
43543 1
43543 2
43543 3
43543 4
43543 5
Please don't tell me that use Temp Tables, if it's possible only T-SQL... I use DB2 over ISeries...
With ROW_NUMBER() OVER() is like a sequence but doesn't work for each group...
Thanks in advance and regards...!