• Phil Parkin (8/5/2014)


    Unless your database is case-sensitive, you don't need the UPPERs.

    Also you should always qualify your tables with their schema.

    And you should finish your statements with the semicolon operator. 😉

    Need an answer? No, you need a question
    My blog at https://sqlkover.com.
    MCSE Business Intelligence - Microsoft Data Platform MVP