Forum Replies Created

Viewing 15 posts - 47,326 through 47,340 (of 59,064 total)

  • RE: Normalizing-Denormalized Tables

    I'm all for normalizing data... but if no one is going to use the normalized form, then you shouldn't bother. In this case, it actually provides a negative ROI...

  • RE: Mitigatng Circumstances for a Heap ?

    SQLBOT (11/8/2008)


    LOL,

    yes, yes... touche

    In those cases when I'm strapped for extra 208k of disk, I usually drop the clustered index.

    ~BOT

    Heh... Like you say... touche`. You're absolutely correct about...

  • RE: Mitigatng Circumstances for a Heap ?

    You bet... thanks for the feedback, Timothy.

  • RE: Mitigatng Circumstances for a Heap ?

    Because, contrary to popular belief, Clustered Indexes are NOT totally contained in the data at the Leaf level... there is an Intermediate Level containing index rows AND a Root Level,...

  • RE: Parsed string into a view

    Robert klimes (11/6/2008)


    And after further investigation the number of parsed coulmns will be static.

    So... how many columns?

  • RE: Pattern matching on bad date stamps

    cliffb (11/6/2008)


    Jeff Moden (11/6/2008)


    Cliff, take a look at the text file attached in the first post of this thread... not much to "pattern match" on... certainly, not enough to...

  • RE: compacting a numbered list

    Thanks... and that's a very appropriate use for that code. If it was a huge table with large gaps, I was gonna suggest a different way.

  • RE: The "Numbers" or "Tally" Table: What it is and how it replaces a loop.

    David Jackson (11/7/2008)


    Excellent. 😀

    I particularly like the date formatting trick. Why didn't I think of that! :w00t:

    Many thanks Hugo. I'll run the extract later today and post some...

  • RE: SQL - Derived Tables

    tony rogerson (1/16/2008)


    The derived table itself is just expanded into the main query (just like a view) this means that there are no statistics available for the derived table.

    Tony.

    I'm not...

  • RE: Mitigatng Circumstances for a Heap ?

    SQLBOT (11/7/2008)


    even then a clustered index doesn't hurt because it doesn't take up extra space.

    ~BOT

    Any bet's on that? 😉

    USE TempDB

    GO

    --===== Create and populate a 1,000,000 row test table.

    ...

  • RE: Trigger that uses a Parameter with Inserted/Deleted

    To make a really long story shorter...

    Some manager was complaining about one of his developers as being non-compliant, difficult to control, and generally an arrogant moron. After many suggestions...

  • RE: Retrieve variable value from dynamically concatenated variable

    rbarryyoung (11/7/2008)


    Local variables are entirely local in scope and visibility: whereas dynamic SQL makes a new batch scope for every invocation that will not be able to see the original...

  • RE: creating temporary table

    Then, I have to agree with kshitij... unless I'm missing something, those all sound like "read" operations and there's no need for the overhead of building a 1+ million row...

  • RE: Pattern matching on bad date stamps

    Cliff, take a look at the text file attached in the first post of this thread... not much to "pattern match" on... certainly, not enough to build a whole...

  • RE: A strange T-SQL challenge

    No problem... could you provide some test data in a readily consumable format like I asked in my previous post? See the link in my signature for how to...

Viewing 15 posts - 47,326 through 47,340 (of 59,064 total)