Tag Archives: code language

  1. Insert into a table using only default values

    4

    December 4, 2013 by Kenneth Fisher

    A while back I talked about the DEFAULT keyword and using it to tell SQL to use the default value …
    Continue reading

  2. Finding active DTS packages

    9

    November 27, 2013 by Kenneth Fisher

    DTS is dead, long live SSIS. Way back when SQL 2005 was announced then released DTS was pronounced DOA. SSIS …
    Continue reading

  3. Finding the metadata for a query

    2

    November 25, 2013 by Kenneth Fisher

    You know I occasionally find it interesting how I learn new things. I was running through a practice test for …
    Continue reading

  4. A pattern to do beginning of period calculations.

    Leave a comment

    November 20, 2013 by Kenneth Fisher

    Beginning of period calculations are common things. Rolling month reports, queries to pull everything from last month etc require beginning …
    Continue reading

  5. sp_SrvPermissions & sp_DBPermissions V3.0

    Leave a comment

    November 4, 2013 by Kenneth Fisher

    These are a couple of stored procedures I wrote to help me with security research. Each sp returns three data …
    Continue reading

  6. Adding a column to a table with a default (NULL vs NOT NULL)

    4

    October 30, 2013 by Kenneth Fisher

    There are lots of ways to learn new things, or be reminded of old things. One of my favorites is …
    Continue reading

  7. Unexpected truncation in FETCH

    Leave a comment

    October 23, 2013 by Kenneth Fisher

    Yes I’m talking about FETCH as in a cursor, yes everyone hates cursors. But you know cursors are like anything …
    Continue reading

  8. A look at comments

    17

    October 21, 2013 by Kenneth Fisher

    Everyone knows that we should include comments in our code right? On the other hand the vast majority of us …
    Continue reading

  9. Query to compare indexes between two tables

    Leave a comment

    October 16, 2013 by Kenneth Fisher

    We have a set of databases at my office that use the load and swap method of loading data with …
    Continue reading

  10. Why you should know how to script as well as use the GUI

    Leave a comment

    October 14, 2013 by Kenneth Fisher

    Personally I’ve always enjoyed learning the T-SQL for any given task. The GUI is usually pretty easy to figure out …
    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