Thanks Harpreet.
And I got another question related.
If the collation is ASCII and I want to compare two characters which are not in the scope of ASCII, how the comparation does? The character will be converted to unicode(assuming the character set is utf8) and then do the comparation? right?
For example(the collation is ascii and character set is UTF8):
SELECT (CASE WHEN (''<= '') THEN 1 ELSE 0 END) AS "newField"
0
SELECT (CASE WHEN (''<= 'A') THEN 1 ELSE 0 END) AS "newField"
0
SELECT (CASE WHEN (''<= 'A') THEN 1 ELSE 0 END) AS "newField"
1
How to explain the results from the above 3 commands?
Thanks
RR
↧