Quantcast
Channel: SCN: Message List - SAP HANA and In-Memory Computing
Viewing all articles
Browse latest Browse all 8968

Re: Working with CASE statement in Calculated Attribute

$
0
0

Hi ,

 

I get below error while using CASE statement as in below format , same as in above example

 

Statement :

 

case("AGE",'0 - 50', 'A' ,'50 - 100', 'B' , 'D' )

 

Validation Error :

SAP DB Tech JDBC :[2048]: Column store error: [6970] Evaluator : type error in expression evaluator;string[here]case(int "AGE",string'0-50',string'A', string'50-100',string'B',string'D')

 

When i remove single quote for '0 - 50' , validation passes successfully , but i don't get expected results.

 

Please let me know , if i need to mention in any other format.

 

Thanks & Regards,

Anup Singh


Viewing all articles
Browse latest Browse all 8968

Trending Articles