Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: TRUNC
Jim,
What you need is something like :-
SELECT TRUNC(TO_DATE('17-FEB-94'), 'D') + 1 FROM DUAL; The 'WW' you were using is the first day of the year, 'D' is the first day of the week. According to Oracle, this is Sunday, hence the +1.
Hope this helps,
Ian Skepper
Legal & General
gblegl7j_at_ibmmail.com
Received on Wed Feb 07 1996 - 11:20:32 CST
![]() |
![]() |