Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> first of the year
I have the below script. Every year we change the date (dpdate) in it
manually so it reflects the beginning of the current year.
I just haven't been able to figure it out. Any suggestions would be greatly
appreciated.
select decode(pull_level,'G','UNWRAPPED','S','WRAPPED') x, ga_id,
prov_company,sum(amount) gloss
from std_invopt,event,acctg_txn_acty
where acctg_txn_acty.ev_id = event.id
and std_invopt.id = acctg_txn_acty.sdio_Id and trunc(dpdate) >= '01-JAN-04'GROUP BY
Thanks Received on Tue Jan 06 2004 - 22:35:48 CST
![]() |
![]() |