Forum Replies Created

Viewing 6 posts - 1 through 6 (of 6 total)

  • RE: Cursor fetch loops endlessly

    Customer: "My car recently started to make a weird noise when I run the air conditioning."

    Auto mechanic: "You really shouldn't run the air conditioning. Good drivers use the air...

  • RE: Cursor fetch loops endlessly

    Aha! The answer is in today's xkcd comic.

  • RE: Cursor fetch loops endlessly

    Good ideas about the cursor declaration. Yes, it's declared LOCAL. And although the proc does not modify the table that the cursor is reading, I'm planning to try a superfluous...

  • RE: Cursor fetch loops endlessly

    <<strange bug in the >>

    Strange indeed, when I can back up the database from one server, restore it onto another server, and the behavior of the stored proc/cursor is different...

  • RE: Cursor fetch loops endlessly

    << not enough to try to help >>

    As the original poster pointed out, the code is good in the first place so even if I send you the whole application...

  • RE: Cursor fetch loops endlessly

    I am battling a similar "self-restarting cursor" . The defect

    (a) occurs 100% on one server

    (b) occurs 0% on another server

    Pseudocode

    Declare cursor as..

    Open cursor

    Fetch next

    while @@FetchStatus

    ...

Viewing 6 posts - 1 through 6 (of 6 total)