The problem is not concering the strings.
What I do not understand is, why for the 10 blanks row, row nr 1, there both LT1 and LT2 are calculated to be 0, LT1 in the CASE evaluates to 0 and exit the CASE with the result Str1 as I expected, but LT2 that also evaluates to 0, but here it do not exit the CASE with the Str2.
I realy do not understand what is going on? Something I have made wrong? Or are there a bug in the TERADATA CASE structure????
Br
Peter Schwennesen
The problem is not concering the strings.
What I do not understand is, why for the 10 blanks row, row nr 1, there both LT1 and LT2 are calculated to be 0, LT1 in the CASE evaluates to 0 and exit the CASE with the result Str1 as I expected, but LT2 that also evaluates to 0, but here it do not exit the CASE with the Str2.
I realy do not understand what is going on? Something I have made wrong? Or are there a bug in the TERADATA CASE structure????
Br
Peter Schwennesen