I have a column of timestamp ...
I'm going to use OBIEE and the user told me that need graphics per day, week and month...
Of the timestamp I'm extracting day, and month ... like this :
--day
select to_char(register_dt, 'DAY DD') as "Day"
from XX;
--by week
--by month
select to_char(register_dt, 'FMMONTH') as "Month"
from XX;
I found
select to_char( register_dt, 'WW' ) as "Week"
from XX;
but that only give me the number of the week like 36 etc, Can anybody help me to figure it out how to display a week range? like
I mean this is Sept 6, like
1 / Sept / 7
8 / Sept / 14
etc.. etc..
Please !! Thanks in advance