Tag Archives: Microsoft SQL Server

  1. DBA Myths: Is an identity column always unique, in order, and without gaps?

    6

    November 20, 2019 by Kenneth Fisher

    Identity columns are all over the place. Probably 80-90% of the tables I see have them and they are almost …
    Continue reading

  2. DBA Myths: The system sessions are the ones with a session_id 50 or less

    Leave a comment

    November 18, 2019 by Kenneth Fisher

    Anecdotally any session_id that’s 50 or less is going to be a system session and anything over 50 will be …
    Continue reading

  3. The curious case of CHAR(0)

    12

    November 14, 2019 by Kenneth Fisher

    Over the years I’ve seen quite a few strange things with SQL Server. This one may not have been the …
    Continue reading

  4. SQL Homework – November 2019 – SSMS built in reports

    1

    November 4, 2019 by Kenneth Fisher

    Time for some homework again. I know Pass Summit is this week so you may be a bit busy but …
    Continue reading

  5. SQL Homework – October 2019 – Code review (self and peer)

    1

    October 2, 2019 by Kenneth Fisher

    Every database person I’ve ever met writes at least some code at some point in their career. That code might …
    Continue reading

  6. Debugging techniques (focusing on T-SQL)

    13

    September 23, 2019 by Kenneth Fisher

    tl;dr; Add PRINT and/or SELECT statements. Comment/uncomment out pieces of code to isolate problems. Change INSERT/UPDATE/DELETE statements to SELECTs. Disclaimer: …
    Continue reading

  7. DBA Myths: CHECKDB runs on startup.

    2

    September 16, 2019 by Kenneth Fisher

    If you look at your error log you’ll (hopefully) see entries like this shortly after the instance startup: CHECKDB for …
    Continue reading

  8. DMV with SQL Server Service info (including the service accounts)

    5

    September 12, 2019 by Kenneth Fisher

    I recently found this DMV and couldn’t wait to share. sys.dm_server_services What’s so great about it? For each service for …
    Continue reading

  9. My fantasy SQL feature(s)? T-SQL Tuesday #118

    3

    September 10, 2019 by Kenneth Fisher

    It’s fantasy football time again? Oh, fantasy feature? Oh, yea, that makes a lot more sense for #tsql2sday. What’s #tsql2sday? …
    Continue reading

  10. When were the statistics last updated and how many rows were sampled?

    1

    September 4, 2019 by Kenneth Fisher

    TL;DR; Final query is at the bottom. Every now and again (particularly when someone is having performance problems) I’ll get …
    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