• Michael Poppers (5/25/2010)


    honza.mf (5/25/2010)


    If someone uses case sensitive collation, he will have all characters in uppercase.

    Sounds reasonable, but use COLLATE Czech_CS_AS (instead of the case-insensitive collation) -- SELECT DISTINCT will return three rows (instead of one), and one of the result rows appears (to my non-Czech eyes) to not be what in the Roman alphabet would be called "uppercase"!

    Sorry, it was my mistake as I haven't checked it. Case sensitivity of a collation is used probably in equality comparisons only. Loops in example are controled by less or equal operator, and it says 'a' <= 'Z'



    See, understand, learn, try, use efficient
    © Dr.Plch