utilizing dates
Hello,
I think this is working to get the starting and ending date :
SQL> select sysdate,
2 trunc(trunc(sysdate, 'Q')-1,'Q') start_date,
3 trunc(sysdate, 'Q')-1 end_date
4 from dual;
SYSDATE START_DA END_DATE
-------- -------- --------
22/07/03 01/04/03 30/06/03
If you want to automate some more, look at the package DBMS_JOB to launch
automatically your batch.
Regards,
Laly.
"Shawn" <spedwards@qwest.net> a écrit dans le message de news:
cc2Ta.92$ez2.88205@news.uswest.net...
of
it
end
day
|