Tag Archives: Microsoft SQL Server

  1. All triggers have to be able to handle multiple row operations.

    1

    September 3, 2020 by Kenneth Fisher

    Quick post today. Recently I was helping a co-worker write a trigger. Basically there is a table of servers that’s …
    Continue reading

  2. SQL Homework – September 2020 – More DML Triggers

    Leave a comment

    September 1, 2020 by Kenneth Fisher

    Triggers. Still blech. In June I asked you to play with DML triggers. Well, one more time. First of all …
    Continue reading

  3. SQL Homework – August 2020 – More DML Triggers

    Leave a comment

    August 13, 2020 by Kenneth Fisher

    Well, I’m running a bit late. Both for this month and the fact I completely missed last month. It was …
    Continue reading

  4. HAL0004 – I don’t feel well Dave

    Leave a comment

    June 29, 2020 by Kenneth Fisher

    It’s another HAL! Every once in a while (4 times now) I come up with a terrible terrible idea for …
    Continue reading

  5. I created a table and SQL created a schema and a user.

    Leave a comment

    June 22, 2020 by Kenneth Fisher

    Demo first and then I’ll explain what happened. First thing I did was run this script: CreateUsers.bat It’s a quick …
    Continue reading

  6. End an ALTER DATABASE immediately if anyone is in the database.

    5

    June 11, 2020 by Kenneth Fisher

    The development team has told me they’ve shut down the application, there are no more connections and I can go …
    Continue reading

  7. SQL Homework – June 2020 – DML Triggers

    Leave a comment

    June 4, 2020 by Kenneth Fisher

    Triggers. Blech. Triggers are a really really cool feature of SQL Server, that are continuously misused and cause all kinds …
    Continue reading

  8. TSQL Tuesday #127 Invite – Non SQL Tips and tricks

    37

    June 2, 2020 by Kenneth Fisher

    How about for this months TSQL Tuesday let’s do another month of tips and tricks. But just to be a …
    Continue reading

  9. Use session_context to create a “variable” that lasts between batches.

    10

    May 26, 2020 by Kenneth Fisher

    The other day I had a brief conversation with Itzik Ben-Gan (about|twitter) on twitter and I have to tell you …
    Continue reading

  10. Negative (-) is an operator and will affect the order of operations.

    7

    May 18, 2020 by Kenneth Fisher

    An interesting question came to my attention the other day. A strange operation problem in SQL Server: -100/-100*10 = 0 …
    Continue reading

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

Join 3,148 other followers

Follow me on Twitter

ToadWorld Pro of the Month November 2013