on 2012 Nov 19 4:17 PM
Hello everyone,
Has anybody had any success using the ISNULL SQL function in SQL Script calculation view? I can not seem to get it to work in my view nor in SQL Editor. I searched the HANA SQL Reference manual and I do not see any mention of it.
Thanks,
-Patrick
Request clarification before answering.
Hi Patrick,
There is "isnull" function explained in the SQL script guide - http://help.sap.com/hana/hana_dev_sqlscript_en.pdf
Thanks,
Anooj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ah.. the mysterious ways in which HANA works.
IFNULL used in SQL script takes and argument and if the value is null uses the second argument value supplied.
ISNULL works like a Boolean function which returns 1 (TRUE) if the value of argument is NULL.
Both the functions are used in different context and I am sure interpreted by different engines (probably developed by different teams in SAP, who knows ).
So depending upon where it is used, you may have to use the appropriate function.
Regards,
Ravi
| User | Count |
|---|---|
| 9 | |
| 6 | |
| 4 | |
| 4 | |
| 3 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.