@@fetch_status return value question

  • Hi all,

    I noticed in the BOL for @@fetch_status that the return value of -2 indicats "Row fetched is missing".

    What does this mean, and should I be testing for it?

    Thanks in advance!

    Bryan

     

  • the cursor us built in underlying rows and it's entirely possible that a row gets deleted while you are working with it. If that's a possibility, then you should test for it.

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

You must be logged in to reply to this topic. Login to reply