Hi Ramana,
Since you have to calculate the week for the date in your table from FROM date,
Pass the FROM date only.
SELECT ROUND(TO_NUMBER(TO_CHAR("From Date", 'ddd'))/7) .
Regards,
Srihari.
Hi Ramana,
Since you have to calculate the week for the date in your table from FROM date,
Pass the FROM date only.
SELECT ROUND(TO_NUMBER(TO_CHAR("From Date", 'ddd'))/7) .
Regards,
Srihari.