Viewing 3 posts - 1 through 4 (of 4 total)
Thanks Sean, I will be sure to follow the etiquette when posting in questions in the future.
Sorry about that.
July 5, 2012 at 11:44 am
#1509265
I was able to figure out the problem:
it was
ROW_NUMBER() over (partition by e.claimid,e.revcode order by c.claimid)
I originally had ROW_NUMBER() over (partition by e.claimid order by c.claimid)
July 5, 2012 at 11:42 am
#1509263
I thought my logic was somewhat close, but after looking at my results, I can see that I am missing a lot of records.
July 5, 2012 at 9:17 am
#1509173