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 for the first monday of each month

9876564Mar 8 2013 — edited Mar 8 2013
Dear Members,

How to get the date for the first monday of each month.

I have written the following code

SELECT decode (to_char(trunc(sysdate+30 ,'MM'),'DAY'),'MONDAY ',trunc(sysdate+30 ,'MM'),NEXT_DAY(trunc(sysdate+30 ,'MM'), 'MON')) FROM DUAL

But it look bith complex.

Abhishek

Edited by: 9999999 on Mar 8, 2013 4:30 AM
This post has been answered by Solomon Yakobson on Mar 8 2013
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 5 2013
Added on Mar 8 2013
18 comments
15,928 views