SQL Server 2000
I have a table with records going vertically that I need to have multiple rows to end up as one record, per GLACCT, per YEAR going horizontically.
Table Structure:
GLACCT YEAR PERIOD BALANCE
100-1000 2011 1 $100
100-1000 2011 2 $150
100-2000 2011 1 $75
100-2000 2011 2 $90
ETC...
DESIRED RESULTS:
GLACCT YEAR PERIOD1 PERIOD2 PERIOD3 ETC...
100-1000 2011 $100 $150
100-2000 2011 $75 $90
Appreciate getting pointing in the right direction.
awaria
I have a table with records going vertically that I need to have multiple rows to end up as one record, per GLACCT, per YEAR going horizontically.
Table Structure:
GLACCT YEAR PERIOD BALANCE
100-1000 2011 1 $100
100-1000 2011 2 $150
100-2000 2011 1 $75
100-2000 2011 2 $90
ETC...
DESIRED RESULTS:
GLACCT YEAR PERIOD1 PERIOD2 PERIOD3 ETC...
100-1000 2011 $100 $150
100-2000 2011 $75 $90
Appreciate getting pointing in the right direction.
awaria