Viewing 6 posts - 1 through 6 (of 6 total)
I did some further analysis on Jeff Moden's example and I'm convinced his cross tab method is the proper way to go, I just converted a query that is almost...
December 14, 2015 at 7:01 am
Jeff Moden (12/13/2015)
pcanino70 (12/13/2015)
December 14, 2015 at 5:48 am
Jeff Moden (12/11/2015)
December 13, 2015 at 10:51 am
You could add a category column and pivot
with cte
as
(
select LotNo
, ( row_number() over ( order by LotNo ) + 2 ) % 3 as Remainder
...
December 11, 2015 at 7:02 am
In the past I've found that SQL Cursor are slow and difficult to use. An alternative is to use a while loop with a table variable that stores a...
May 6, 2015 at 5:42 am
Viewing 6 posts - 1 through 6 (of 6 total)