Well, I guess you could do it this way:
Code:
Select
case when TRN-AMT >= 0 then TRN-AMT else null end,
case when TRN-AMT < 0 then TRN-AMT else null end
Into WK-POS-AMT, WK-NEG-AMT
From TRNTABLE
Where TRN-DATE <= WK-TRN-DATE
I did not test it so you may need to cast nulls to the TRN-AMT data type before it works.