Category Archives: T-SQL

  1. SELECT FORMAT(COUNT(1),’N’) FROM TableName WITH (NOLOCK);

    9

    December 26, 2023 by Kenneth Fisher

    Alternate title: How do I tell how far I am on that command? This little command (frequently with a WHERE …
    Continue reading

  2. SQL Homework – September 2022 – Query window challenge

    Leave a comment

    September 1, 2022 by Kenneth Fisher

    I had every intention of doing Replication Part 2 this month but had a thought I liked better. I will …
    Continue reading

  3. How do I tell if identity_insert is turned on and if so what table?

    4

    June 24, 2022 by Kenneth Fisher

    TLDR; The code to do this is below but it’s a bit hokey and probably isn’t worth it. It’s pretty …
    Continue reading

  4. Running dynamic SQL in a different database

    10

    May 19, 2022 by Kenneth Fisher

    This is one of those things that on hindsight was a stupid problem, but still cost me hours and a …
    Continue reading

  5. How can I use the identity column, without knowing identity column’s name.

    Leave a comment

    May 12, 2022 by Kenneth Fisher

    One of the most fun parts of blogging is when you learn something completely unexpected while writing a blog. The …
    Continue reading

  6. My job managing a calling list. : T-SQL Tuesday #150

    1

    May 10, 2022 by Kenneth Fisher

    I’m actually hosting this month and I was wondering about your first technical job. Mine was kind of interesting. I …
    Continue reading

  7. SQL Homework – May 2022 – Books on Line

    Leave a comment

    May 5, 2022 by Kenneth Fisher

    No one knows everything. Ask any senior level person in IT and they’ll tell you that they spend plenty of …
    Continue reading

  8. Scripting with a temp stored procedure

    2

    March 17, 2022 by Kenneth Fisher

    A few years back I learned about temporary stored procedures from a Kendra Little (blog|twitter) blog post. At the time …
    Continue reading

  9. Shift calculations (or same time every day)

    2

    March 15, 2022 by Kenneth Fisher

    One of the more interesting jobs I’ve had over the years was for a company that created emergency room software. …
    Continue reading

  10. An increased opportunity. Remote user groups. : T-SQL Tuesday #148

    Leave a comment

    March 8, 2022 by Kenneth Fisher

    Rie Merritt (blog|twitter) is our host this month for T-SQL Tuesday! She’d like us to give advice on running a …
    Continue reading

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

Join 6,756 other subscribers

Follow me on Twitter

Archives

ToadWorld Pro of the Month November 2013