Quantcast
Channel: SCN: Message List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 9165

Re: How can I get the number of week (of quarter) in a Date in sap hana modeling?

$
0
0

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.


Viewing all articles
Browse latest Browse all 9165

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>