Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 3576

Re: How to get the number of months or years between two dates in HANA SQL

$
0
0

tried this in Hana studio and got the following

---

 

  ### UNSUPPORTED ###  AS "# of Months, being a member", YEAR(NOW()) - YEAR(T0."CreateDate") AS "# of Years, being a member" FROM OCRD T0;


 

SAP HANA supports only day and second as parameters for DATEDIFF

 


Viewing all articles
Browse latest Browse all 3576

Trending Articles



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