on 10-02-2020 8:53 AM
Hi Folks.
As a part of Oracle to HANA migration, I have a requirement to calculate the fiscal year month number based on a given input date. Here is the expression in Oracle :
TO_CHAR(TRUNC(TABLE1.IDATU+1,'IW')+5,'YYYYIW') . I am unable to figure out equivalent expression in HANA.
Please help me on this..
To get Year + ISO Week you can try following syntax:
YEAR(TABLE1."IDATU") || SUBSTR_AFTER( ISOWEEK(TABLE1."IDATU"), 'W' ) AS "YEAR_ISOWEEK"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
11 | |
10 | |
8 | |
6 | |
6 | |
6 | |
6 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.