Forum Replies Created

Viewing 15 posts - 1,531 through 1,545 (of 2,443 total)

  • RE: Are the posted questions getting worse?

    CirquedeSQLeil (2/19/2010)


    Grant Fritchey (2/19/2010)


    If you haven't submitted anything to Tony Davis at Simple-Talk, head on over there. His editing process can feel a bit like a prison rape, but you'll...

  • RE: Today's Random Word!

    mstjean (2/19/2010)


    SuspicionBreedsConfidence**

    **An ironic phrase appearing in the background in one of the greatest movies ever made, but in the context of a SQL DBA's life, a truism.

    I love that movie!...

  • RE: Are the posted questions getting worse?

    So what you're saying is we should invest in SA telco?

  • RE: Today's Random Word!

    CirquedeSQLeil (2/18/2010)


    duct tape (pronounced duck tape 😀 )

    I always thought it was Duct Ape?

  • RE: Are the posted questions getting worse?

    jcrawf02 (2/18/2010)


    Gianluca Sartori (2/18/2010)


    GilaMonster (2/18/2010)


    Gianluca Sartori (2/18/2010)


    In that particular case, with the identity column as primary key clustered, yes, doesn't it?

    Logical order of the index - yes

    Physical order of the...

  • RE: Eliminating Cursors

    Andy DBA (2/18/2010)


    RBarryYoung (2/18/2010)


    ...

    Cursors are much, much more undesirable than Dynamic SQL, and should be avoided at all costs.

    All costs? Sounds like trolling, to me. I know my...

  • RE: Select distinct question

    Odd, when I force a negative value, it doesn't change the identity incremental value at all? Try the last code, but set to negative anything, I assumed it would then...

  • RE: Select distinct question

    Paul White (2/18/2010)


    Dan Guzman - Not the MVP (2/18/2010)


    Also, in this case, using the serial number does not guarantee the order of flower and apple, since the serial is 6...

  • RE: Eliminating Cursors

    simplest answer might be to replace the loop with a join to a Tally table, see Jeff Moden's article on the subject: http://www.sqlservercentral.com/articles/T-SQL/62867/

    There may be a better way to do...

  • RE: Are the posted questions getting worse?

    Grant Fritchey (2/18/2010)


    Oh jeez, I'm so stupid. I never even thought about that. No wonder everyone gets so many points. Here I am trying to honestly answer the questions... I...

  • RE: Are the posted questions getting worse?

    Gianluca Sartori (2/18/2010)


    GilaMonster (2/18/2010)


    Gianluca Sartori (2/18/2010)


    In that particular case, with the identity column as primary key clustered, yes, doesn't it?

    Logical order of the index - yes

    Physical order of the data...

  • RE: Select distinct question

    That's not entirely true though, if you SET IDENTITY_INSERT ON, you can force identity values that are out of sequence:

    CREATE TABLE #temp (iRow int identity(1,1),something char(1))

    INSERT INTO #temp

    SELECT 'a' UNION...

  • RE: Are the posted questions getting worse?

    Alvin Ramard (2/17/2010)


    Steve Jones - Editor (2/17/2010)


    Alvin Ramard (2/17/2010)


    Well, looks like I'm gonna have fun over the next few days. I've decided to upgrade my laptop to Win7 -...

  • RE: Today's Random Word!

    complain about the lack of process improvement...until the shoe is on the other foot, then CYA

  • RE: Eliminating Cursors

    athornicroft (2/18/2010)


    Hi there is a good thread here about eliminating cursors without the use of sub queries.

    Replacing a cursor with a while loop isn't really an improvement, it's still RBAR.

Viewing 15 posts - 1,531 through 1,545 (of 2,443 total)