Forum Replies Created

Viewing 12 posts - 1 through 12 (of 12 total)

  • Reply To: COLUMNS_UPDATED() and Triggers

    Good article.  One thing to note - the INFORMATION_SCHEMA performance in some versions of SQL Server may be problematic in triggers.  When I first converted a system to the new...

  • RE: Deleting Large Number of Records

    Interesting article. I took a slightly different approach when needing to delete almost 99.5% of rows from two tables with a total of 200 million rows between them. ...

  • RE: Twenty tips to write a good stored procedure

    Publishing the article as is (with advice that will lead beginners astray) is OK. Promoting it as the headline article in the daily email is somewhat of an editorial...

  • RE: Audit Trails and Logging Part II

    Lee, I presume you're working with a healtcare system or somewhere outside the US.

    There may be some healthcare specific products out there.

    Logically, capturing the "pipe" to (and from) the...

  • RE: A Function Gotcha with the Use of an Asterisk

    Actually, SQL Prompt uses column names to produce the ON suggestions, but if you don't have the relationships defined, you'll have to select the table to join to - but...

  • RE: A Function Gotcha with the Use of an Asterisk

    sp_recompile does NOT recompile UDF's. I'm not sure about views, but that should be easy to test.

  • RE: A Function Gotcha with the Use of an Asterisk

    Great article.

    Also, SQL Prompt is great. For those who haven't already tried it - go ahead, you'll be hooked. Note: I am just a happy user.

    Briefly described,...

  • RE: Audit Table

    OOPS, I forgot I couldn't use angle brackets in the text, so some explanatory "stuff" got lost in the trigger description:

    INSERT INTO [Source Table Name]_Audit

    ...

  • RE: Audit Table

    Having an audit table for each original table makes it easier to work with the audit data. It helps avoid the problem of the audit table being a performance...

  • RE: Audit Table

    There are different ways of implementing Audit Logging. Before you start, you may Google a bit to see what tools may be available to help. You may find...

  • RE: NULL Equals NULL?

    Cimode (2/26/2007)


    Obviously the article is posted by somebody who has no clue about database fundamental theory...

    [snip]

    Cimode (2/26/2007) questions whether 3VL is useful.

    Sure, NULL values complicate applications, because they...

  • RE: Usages of CONTEXT_INFO

    We are using the technique with connection pooling (although a WinForms app) for user/application context information required for logging purposes (used in triggers).  By always setting the CONTEXT_INFO as part...

Viewing 12 posts - 1 through 12 (of 12 total)