• derek.colley (11/1/2012)


    I'm afraid this question was just too obscure for me. It's a good question, sure, but why would I need to know this or reference it in any way? I mean, we have hundreds of databases, most of which actually use this collation, and this nugget has never, and will never come in useful.

    The specific answer isn't useful, but the process of writing a query to answer it surely could be. I had no idea of the correct answer so I wrote a query very similar to that given in the answer:

    SELECT *

    FROM dbo.Numbers AS n

    WHERE

    CHAR(n) COLLATE Latin1_General_CI_AS

    BETWEEN '0' AND 'Z';

    The idea of QotDs that require the reader to write T-SQL code to find the answer intrigues me. If that was Tom's intention (as I suspect it was) and/or to highlight the usefulness of a Numbers table, I applaud him.