on 03-12-2017 4:22 PM
Hi All,
I tired the below HANA SQL standard function to get difference between two dates but it is working only for "DAYS_BETWEEN" not for Months and Years. I followed the below SQL reference
Error Log
I got some solution from SCN https://archive.sap.com/discussions/thread/3877237
As i am working on Demo Hana cloud server i am not able to access it .
My question is why the standard date function " MONTHS_BETWEEN" and "YEARS_BETWEEN" are not working as "DAYS_BETWEEN?
Thank you All 🙂
Both functions MONTHS_BETWEEN and YEARS_BETWEEN are added to HANA with HANA 1.0 SPS12. So I assume you are on a lower release level (DAYS_BETWEEN is already available since some SPS).
The link to the (legacy) online documentation, points to HANA 2.0 SPS00 in which the functions of course available too.
Regards,
Florian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.