Forum Replies Created

Viewing 15 posts - 50,041 through 50,055 (of 59,078 total)

  • RE: Set based alternative of cursors?

    Basically, you cannot convert it into true setbased code. Sure, you can probably get rid of all the looping by concatenating all of the commands into one huge variable...

  • RE: Eliminating Cursors

    Thanks for the feedback, Kevin... and thanks for the code you posted. There are only a few people who will take the time to actually do performance tests never...

  • RE: Eliminating Cursors

    Kevin Rathgeber (6/13/2008)


    So using more real world scenarios, the while always seems to win out though not by much.

    Jeff, does this seem right to you?

    I'd pretty much agree depending on...

  • RE: Eliminating Cursors

    Ok... lemme demonstrate a couple of things... first, we need some data that everyone

    can use and we need lot's of it because these tests run so darned fast. ...

  • RE: Eliminating Cursors

    Well, welcome aboard, Kevin! "Set-based" is nothing more than processing sets of information instead of processing "Row By Agonizing Row" (other wise known as "RBAR"... see my tag line...

  • RE: Eliminating Cursors

    Outstanding, Kevin! Thanks for posting the code.

    Yep, Matt was right... One test is worth a thousand words... let the "test off" begin. To make it easier for...

  • RE: Eliminating Cursors

    jcrawf02 (6/13/2008)


    Is a 'test-off' like a 'dance-off'? should I go get some cardboard?

    Only if you want to save the big pieces... 😀

  • RE: Eliminating Cursors

    Matt Miller (6/13/2008)


    Edit: I see Jeff has already thrown the gauntlet:)

    Yep... getting ready to launch some pork chops! 😉

  • RE: Eliminating Cursors

    Kevin Rathgeber (6/13/2008)


    Good point on the SQL 2000 vs SQL 2005. My first attempt was against 2005. I tried again against a sql 2000 database and came out...

  • RE: Eliminating Cursors

    Jim Russell (6/13/2008)


    I was getting worried when I got through 5 or 6 pages of this thread and hadn't seen Jeff Moden jumping in to point out that different types...

  • RE: Cannot bulk load. Invalid column number in the format file

    sharma (6/13/2008)


    Thanks for ur reply..

    You had changed 1,2,14,37,44 as 1,2,3,4,5

    But it is host file field order only.

    I have to specify sequence order? Because

    i am selecting 1,2,14,37,44 filed from table (file)...

  • RE: DELETE DUPLICATE RECORDS

    vinuraj (6/13/2008)


    this link is more than enough...

    ... to bring your server right to it's knee's. It took over 10 minutes to find and delete a lousy 156 rows from...

  • RE: Remove Locking from particular row

    seenu_61281 (6/13/2008)


    thanks madam..i will try this..

    one more doubt..

    i am using sql 2005 express.i need to insert data from a grid control in vb 6.0. The entries are being done by...

  • RE: Which syntax is better and why?

    Now, I agree with THAT! That's my favorite format because it puts all of the aliases in the same position horizontally speaking AND it's the same format required by...

  • RE: Eliminating Cursors

    Bobbie Shrivastav (6/13/2008)


    I was able to utilize the proc. This is GREAT. The only thing I had to change was to use a coalesce rather than isnull....

Viewing 15 posts - 50,041 through 50,055 (of 59,078 total)