Skip to Main Content

how to get week numbers along with start and end dates of a week

Ramya-OracleAug 10 2018 — edited Aug 10 2018

I wanted to list all week numbers in a year, along with their starting and ending dates of the week as below.

Week1(01-Jan-2018-07-Jan-2018)

I am able to get the Week numbers using the below query.

select to_char(sysdate,'ww') from dual;

But I am not able to get the total list of of week numbers in a year along with their dates as shown above. Any help please

Version:12.1.0.2.0

This post has been answered by Gaz in Oz on Aug 10 2018
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked due to inactivity on Sep 7 2018
Added on Aug 10 2018
13 comments
714 views