on 04-11-2017 8:25 PM
Hi Experts.
This query in SAP HANA:
select T0."U_ChklInstance",
MIN(case when T0."U_ElementId" = 'numberinput1' then T0."U_Value" end) as "SKU",
MIN(case when T0."U_ElementId" = 'numberinput2' then T0."U_Value" end) as "SKUwo"
from "@COR_CHCKL_INST_ELM" AS T0
group by T0."U_ChklInstance"
Show this error:
Help me please.
Thank you!
You might want to consult the SAP HANA documentation on what operations work on LOB columns.
The statement seems to use a LOB column in the MIN() aggregation.
Also, the case statements have no explicitly defined behaviour for when the condition is not met; this can leave to confusion about what will be returned.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Looking at what you sent me, I put a CAST in one of the fields and it worked. Thank you very much for the help.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
11 | |
10 | |
9 | |
8 | |
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.