David:  Can't remember if you ended up solving this, but I had an idea and 
it doesn't seem like it would be very hard:

1.    Create 2 temp tables with half of the columns in each.  Insert data 
into each of the tables, including those 4 or 5 "group by" columns you have.

2.    Then just do an INTERSECT table1 WITH table2 FORMING endingtable

That should give you a table with all the columns, and I don't think any of 
the commands would exceed the row length size.

Karen

Reply via email to