• SQLRNNR (5/29/2014)


    Sean Lange (5/29/2014)


    Luis Cazares (5/29/2014)

    JOIN keywords on the right of the tables.

    +1000 That one drives me nuts!!! (ok I know it is a short trip)

    NOT a fan of that format style either. At least ctrl ky fixes that.

    Same with trailing commas. I dislike that practice but it is an easy one to fix with a little ctrl ky.

    In case you are wondering, I dislike trailing commas because it makes it more of a pain to comment out a column if I want to test the results without the column. It also helps break up the list kind of like bullet points.

    But what does ctrl ky do?

    _______________________________________________________________

    Need help? Help us help you.

    Read the article at http://www.sqlservercentral.com/articles/Best+Practices/61537/ for best practices on asking questions.

    Need to split a string? Try Jeff Modens splitter http://www.sqlservercentral.com/articles/Tally+Table/72993/.

    Cross Tabs and Pivots, Part 1 – Converting Rows to Columns - http://www.sqlservercentral.com/articles/T-SQL/63681/
    Cross Tabs and Pivots, Part 2 - Dynamic Cross Tabs - http://www.sqlservercentral.com/articles/Crosstab/65048/
    Understanding and Using APPLY (Part 1) - http://www.sqlservercentral.com/articles/APPLY/69953/
    Understanding and Using APPLY (Part 2) - http://www.sqlservercentral.com/articles/APPLY/69954/