• GilaMonster (3/1/2013)


    Or a TOP 1 (without specifying WITH TIES) where the column you're ordering by has duplicate values

    Nice. That is a tricky example that might slip by even a good static code analysis rule because it depends on the uniqueness of the column.

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato