Forum Replies Created

Viewing 15 posts - 1,966 through 1,980 (of 8,416 total)

  • RE: Forcing the Order

    Craig Farrell (5/23/2011)


    Attached find the two after the index is in play. Sorry for the confusion. This is common for the difference in times between the two after...

  • RE: Forcing the Order

    SQLRNNR (5/23/2011)


    For fun, I added a third query to the mix to see how it would perform. It uses the same exact plan, outputs the same statistics IO as...

  • RE: Forcing the Order

    Hi Craig,

    Looking at the first two query plans you posted (without your index), the optimizer does pick the better plan - where better = lowest estimated cost. The estimated...

  • RE: Are the posted questions getting worse?

    Craig Farrell (5/23/2011)


    If anyone wants an interesting optimization conundrum (at least to me), please swing by this thread I started: http://www.sqlservercentral.com/Forums/Topic1113705-392-1.aspx

    Swung by 🙂

  • RE: Forcing the Order

    Hi Craig,

    The following index appears optimal to me for this query:

    CREATE UNIQUE NONCLUSTERED INDEX [UQ dbo.PriceHistoryTable_25000_NoBuf -ItemID, -UpdateDate (ItemPrice)]

    ON PriceHistoryTable_25000_NoBuf (ItemID DESC, UpdateDate DESC)

    INCLUDE (ItemPrice);

    It allows the Segment...

  • RE: Page Compression

    Peter Trast (5/16/2011)


    The explanation makes plenty of sense. I was just wondering what the threshold is. "Significant" is subjective. I was hoping for a percentage or formula or something like...

  • RE: Page Compression

    Good question today.

  • RE: Tally OH! An Improved SQL 8K “CSV Splitter” Function

    peter-757102 (5/14/2011)


    While CLR certainly works on a technical level, it is far from a perfect merger with SQL Server. Ideal would be to have basic programming capabilities comparable to that...

  • RE: Know Your SQL Objects

    Tom.Thomson (5/13/2011)


    (1) New Zealanders (or at least one of then) don't use the position in the clause of "only" to distinguish the three possible meanings that the combination of "only"...

  • RE: Know Your SQL Objects

    Steve Jones - SSC Editor (5/13/2011)


    I can't be responsible for sheep-reading and down under mis-interpreting the (other) colonist's English.

    😀 😎

    May implies it may or may not be true. It does...

  • RE: Know Your SQL Objects

    cfradenburg (5/13/2011)


    The text data type, which I assumed this is referring to, is LOB and will be stored on a LOB page regardless of length. If this were...

  • RE: Know Your SQL Objects

    Steve Jones - SSC Editor (5/13/2011)


    Comments encouraged on the changes.

    "Extents may be owned by only one object".

    This still reads (to me) as excluding the possibility that an extent may be...

  • RE: Know Your SQL Objects

    michael.kaufmann (5/13/2011)


    But it's not the data type of your fields/columns that's important here--the page type of the ROW_OVERFLOW_DATA allocation unit is text/image.

    I very much doubt this was the intention of...

  • RE: Know Your SQL Objects

    Nils Gustav Stråbø (5/13/2011)


    ...A table with a varchar(max), text, image column will have their values stored in a LOB_DATA page even if they ore only a byte long.

    Hi Nils,

    Just a...

  • RE: Know Your SQL Objects

    The 'quibbling' over this QotD is quite understandable.

    I chose the first two options and the last two, because the question said to choose four options. I was told that...

Viewing 15 posts - 1,966 through 1,980 (of 8,416 total)