I don't think it is possible in a query so I was thinking that a module would be necessary.
The query pulls data from a table and adds some additional default fields. The query name is PG_COMM.
The main fields are:
EMPLID
EARN_CD
EARN_AMT
EARN_BEGIN_DT
EARN_END_DT
I need to add the sequence...
emplid SeqNbr
22222 1
22222 2
33333 1
33333 2
33333 3
55555 1
I have a query which has emplids. I need to add a sequence number that restarts numbering for each emplid. See example of the goal above.
Thanks!
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.