SQL Server 2000, SP3
Need help with a query.
Querying [GL Line Item TRX table], want to group trx amts by month in columns. Fields in table are trxdate, trxamt, gl account number.
Desired Results:
Acct Number | Jan10 Bal | Feb10 Bal | . . .
100-999 $50 $250
Was attempting to get monthly column balances by using CASE, but not having success with syntax.
Appreciate any assistance. My feelings won't be hurt if recommendation is a completely different strategy.
Thanks,
Andrew
Need help with a query.
Querying [GL Line Item TRX table], want to group trx amts by month in columns. Fields in table are trxdate, trxamt, gl account number.
Desired Results:
Acct Number | Jan10 Bal | Feb10 Bal | . . .
100-999 $50 $250
Was attempting to get monthly column balances by using CASE, but not having success with syntax.
Appreciate any assistance. My feelings won't be hurt if recommendation is a completely different strategy.
Thanks,
Andrew