Hi Everyone,
I have a very small conceptual doubt. Does the eval case do case insensitive compare or will it compare the exact values (Case sensitive only)? I need a case-insensitive comparison here.
LINE_CODE value examples:- AMx05323, amy4bl124, bmz4265678 etc. If the first Character is a or A (case insensitive "a", it should return Atlanta otherwise it should return Other.
Do the following 2 statements will provide the same results or different.
| eval REGION_ID = (substr(LINE_CODE,1,1)="a") OR (substr(LINE_CODE,1,1)="A")) ,"Atlanta", 1=1,"Other")
and
| eval REGION_ID = substr(LINE_CODE,1,1)="a" ,"Atlanta" , 1=1," Other")
Thanks for your time.
... View more