Tag Archives: sql statements

  1. DROP and CREATE vs ALTER

    25

    February 25, 2013 by Kenneth Fisher

    When writing a script to change a piece of code, say a stored procedure or view, there are 3 basic …
    Continue reading

  2. Something to watch out for when using sp_rename on Stored Procedures, Functions and Views

    6

    February 11, 2013 by Kenneth Fisher

    For those who don’t know, the stored procedure sp_rename allows you to change the name of a user-created object. Basically …
    Continue reading

  3. EXECUTE, not required, but advisable.

    1

    February 6, 2013 by Kenneth Fisher

    The other day one of the developers I work with gave me a script similar to this: He was getting …
    Continue reading

  4. Duplicate rows in a table

    19

    February 4, 2013 by Kenneth Fisher

    I recently got the following email: “I just keyed in two rows into a table with all identical column values. …
    Continue reading

  5. Small changes, big effects

    Leave a comment

    January 30, 2013 by Kenneth Fisher

    We got a call last week about an application that was running slowly. The server was showing about 80% CPU …
    Continue reading

  6. IsMSShipped

    3

    January 23, 2013 by Kenneth Fisher

    I just wanted to do a brief highlight of a handy little object property. For those of you who aren’t …
    Continue reading

  7. How I like to learn a t-sql command

    11

    January 7, 2013 by Kenneth Fisher

    Recently I received a security request and realized I wasn’t comfortable in my ability to script out the t-sql commands …
    Continue reading

  8. Generating multiple SQL statements from a query

    2

    December 17, 2012 by Kenneth Fisher

    Dynamic SQL is one of my favorite tools in the DBA toolbox. I’m big on automation and dynamic SQL can …
    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