Category Archives: T-SQL

  1. Deadlock on ALTER DATABASE

    3

    February 16, 2017 by Kenneth Fisher

    I had an interesting problem recently. A database was stuck in single user mode. How exactly was it stuck you …
    Continue reading

  2. Deadlock priority

    5

    February 8, 2017 by Kenneth Fisher

    Everyone deals with deadlocks from time to time. But sometimes we need to control who’s the deadlock victim and who …
    Continue reading

  3. Lead Blocker

    7

    January 18, 2017 by Kenneth Fisher

    Blocking is just part of life I’m afraid. Because we have locks (and yes we have to have them, and …
    Continue reading

  4. Connect suggestion to add included columns to sp_helpindex

    Leave a comment

    January 10, 2017 by Kenneth Fisher

    I’m a big fan of the sp_help system stored procedures, which is why I’ve been a bit disappointed that the …
    Continue reading

  5. sp_refreshsqlmodule_internal – The user does not have permission to perform this action.

    Leave a comment

    December 28, 2016 by Kenneth Fisher

    Honestly, I’m only posting this because I had a hard time finding anything posted on this error and I found …
    Continue reading

  6. sp_helptext vs object_definition()

    3

    December 21, 2016 by Kenneth Fisher

    I’ve been using sp_helptext for years. Honestly I probably end up using it at least once a day. But I …
    Continue reading

  7. Using OUTPUT with a field list.

    2

    November 30, 2016 by Kenneth Fisher

    I recently wrote an article for SQL Server Central about using OUTPUT. In case you aren’t aware OUTPUT is a …
    Continue reading

  8. Easy to read CHECKDB

    9

    November 28, 2016 by Kenneth Fisher

    If you ask a senior DBA what are the top 5 most important commands in T-SQL you’ll probably see DBCC …
    Continue reading

  9. It greatly pleases me to announce, HAL0003!

    24

    November 23, 2016 by Kenneth Fisher

    I while back as part of a T-SQL Tuesday post I created HAL0001, then later HAL0002 with a long-term goal …
    Continue reading

  10. Reload a table quickly.

    4

    November 21, 2016 by Kenneth Fisher

    Sometimes loading new data or even changes into a table just isn’t going to work. You need a complete reload. …
    Continue reading

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

Join 1,607 other followers

Follow me on Twitter

ToadWorld Pro of the Month November 2013