Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

how to get the date of first day of the week

user517698Apr 3 2007 — edited Apr 3 2007

hi ,

how can i get the first day of the current week ?

i have tried the following
note : my sysdate is 3rd april 2007

select trunc(sysdate , 'ww') from dual -- 4/2/2007

select trunc(sysdate , 'w') from dual -- 4/1/2007

select trunc(sysdate - 4 , 'ww') from dual -- 3/26/2007 -- shld return 25th mar 2007

select trunc(sysdate - 4 , 'w') from dual -- 3/29/2007 -- shld return 25th mar 2007

pls advise

tks & rgds

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 1 2007
Added on Apr 3 2007
11 comments
11,716 views