Viewing 3 posts - 1 through 3 (of 3 total)
WITH AccItem AS (
SELECT itemId,
ROW_NUMBER() OVER (ORDER BY dt) AS rnAll,
ROW_NUMBER() OVER (PARTITION BY itemId...
June 16, 2009 at 6:45 pm
#1010573
Thanks for all of the replies, and thanks andrewd. Your query seems to be what I am looking for.. I'm unable to test at the moment but will test it...
June 16, 2009 at 1:07 pm
#1010430
any insight would be greatly appreciated, thanks.
September 15, 2008 at 9:07 am
#871824