Hi All,
I created a table with only one char(1) column and inserted values
from 'A' to 'Z'. After that I am executing "select * from tablename
where colname between '0' and 'z'. It gives me all the data except
'Z' (capital Z). As I am not getting 'Z', it makes me wonder how does
DB2 compare the strings (converts it into ascii or ebcdic or something
else?) ? Anyone has an idea?
Thanks.
I created a table with only one char(1) column and inserted values
from 'A' to 'Z'. After that I am executing "select * from tablename
where colname between '0' and 'z'. It gives me all the data except
'Z' (capital Z). As I am not getting 'Z', it makes me wonder how does
DB2 compare the strings (converts it into ascii or ebcdic or something
else?) ? Anyone has an idea?
Thanks.
Comment