Forum Replies Created

Viewing 15 posts - 376 through 390 (of 522 total)

  • RE: My Own Custom Table Partitioning

    I think the most benefit you will get out of a good archiving strategy that separates current data from old data.

    Since old data is typically queried less often, the requirements...

    Best Regards,

    Chris Büttner

  • RE: Alternative to using "IN" or table data types?

    You could code up something like this (i assume exactly one of the params needs to be null):

    IF (@CampaignID IS NOT NULL AND @Email IS NOT NULL)

    OR @CampaignID IS NULL...

    Best Regards,

    Chris Büttner

  • RE: How do you keep up your technical skill if your company does not have the latest technology?

    Wow, 65 times, and I thought I moved a lot with my 8 times... 😉

    Hope you have found your peace in the area you live now 🙂

    Best Regards,

    Chris Büttner

  • RE: Tuning advice sought

    Well, I should have proposed that from the beginning, but have you already tried to run Tuning Advisor with your query?

    Since your original question was not now to improve the...

    Best Regards,

    Chris Büttner

  • RE: How do you keep up your technical skill if your company does not have the latest technology?

    I think this is one of the dilemmas with modern software. While software should increase productivity, it sometimes just degrades it because it is too complex, rapidly changing, or just...

    Best Regards,

    Chris Büttner

  • RE: Tuning advice sought

    Hi ronnie,

    the additional column probably doesnt provide much value (e.g 99 percent of the rows contain this specific value that is filtered for). But make sure the statistics on this...

    Best Regards,

    Chris Büttner

  • RE: Tuning advice sought

    Hi Ronnie,

    Could you pls post the DDL for those?

    If I am not completely wrong, the second index (xref1, objecttype) is not being used at all, only the first one. (The...

    Best Regards,

    Chris Büttner

  • RE: Tuning advice sought

    Despite what already has been mentioned, do you have some more information regarding your indexes and PKs?

    Best Regards,

    Chris Büttner

  • RE: Maximum Number of "When Then" lines in a CASE statement?

    I know it does not provide any value (as already pointed out, a lookup table should be used), but I get an overflow with 9712 WHEN cases.

    I just had to...

    Best Regards,

    Chris Büttner

  • RE: substring and comma-convert result table to comma 1,2,3,4

    Just to provide an additional example:

    SET NOCOUNT ON

    DECLARE @table_index TABLE (fld_index tinyint NOT NULL)

    INSERT @table_index VALUES(103)

    INSERT @table_index VALUES(103)

    INSERT @table_index VALUES(103)

    INSERT @table_index VALUES(104)

    INSERT @table_index VALUES(104)

    INSERT @table_index VALUES(104)

    INSERT @table_index VALUES(105)

    INSERT @table_index VALUES(105)

    INSERT...

    Best Regards,

    Chris Büttner

  • RE: Naming Convention

    Hello David,

    a good naming convention is a convention that everyone dealing with your objects follows.

    I dont see any reason for not using your suggested prefixes. I use vw and usp,...

    Best Regards,

    Chris Büttner

  • RE: Is a Temporary Table Really Necessary?

    I guess in 90% of all cases where table variables / temp tables are applied, there is probably a better solution available like:

    - Rewriting the queries...

    Best Regards,

    Chris Büttner

  • RE: CASTing

    I think these two QODs really show how evil implicit type conversions are.

    Id rather spend this one second on explicit type conversion than on reviewing such code for possible data...

    Best Regards,

    Chris Büttner

  • RE: Anatomy of an Incremental Load

    I must hardly object!

    I have seen poor quality in some of my projects in the past.

    Your article doesnt fall under this category even if it might not be perfect...

    Best Regards,

    Chris Büttner

  • RE: Physical Database Architecture

    Hm, tricky question.

    It was not clear to me whether the author meant "pages" as units of 8kb or actual "data pages".

    Interestingly enough, MS is returning the size of the Log...

    Best Regards,

    Chris Büttner

Viewing 15 posts - 376 through 390 (of 522 total)