Category Archives: T-SQL

  1. Using Snippets

    Leave a comment

    October 17, 2016 by Kenneth Fisher

    A while ago I talked about Templates. This is an easy way to get a, well, template of a piece …
    Continue reading

  2. Too many indexes!

    6

    October 13, 2016 by Kenneth Fisher

    Indexes are great. They speed up our queries. In fact, without them relational database systems wouldn’t work. Different indexes work …
    Continue reading

  3. Floor, Round, and Ceiling

    5

    October 5, 2016 by Kenneth Fisher

    I saw an interesting question today about rounding. Specifically they always wanted to round down. Now as it happens that …
    Continue reading

  4. A quick fix for a full identity column.

    2

    September 21, 2016 by Kenneth Fisher

    A while back I wrote a post on everything I knew about identity columns. In it I mentioned the following: …
    Continue reading

  5. Using an ORDER BY in a view

    27

    September 19, 2016 by Kenneth Fisher

    For many years it’s been a best practice to never put an ORDER BY in a view. The idea is …
    Continue reading

  6. RBAR vs Batch

    10

    August 17, 2016 by Kenneth Fisher

    Many years ago Jeff Moden (of SQL Server Central fame) came up with the concept of RBAR. Row-By-Agonizing-Row. At it’s …
    Continue reading

  7. Azure: What’s the difference between SQL Database and SQL Server?

    5

    August 9, 2016 by Kenneth Fisher

    If you want to blog T-SQL Tuesday is a great way to get started. On the first Tuesday of each …
    Continue reading

  8. What’s the difference between LEFT and RIGHT OUTER JOINs?

    1

    August 3, 2016 by Kenneth Fisher

    A DBA walked into a bar, saw a couple of tables, and asked “Can I JOIN you?” There are several …
    Continue reading

  9. Using impersonation to allow a task without granting the required permission.

    9

    August 1, 2016 by Kenneth Fisher

    I use impersonation on a regular basis for a number of different tasks. This one is pretty basic but can …
    Continue reading

  10. Finding, disabling and enabling foreign keys

    3

    June 29, 2016 by Kenneth Fisher

    Foreign keys are a classic method of enforcing RI (Referential Integrity). Unfortunately though, they can get in the way if …
    Continue reading

Enter your email address to follow this blog and receive notifications of new posts by email.

Join 3,975 other subscribers

Follow me on Twitter

Archives

ToadWorld Pro of the Month November 2013