SET NOCOUNT ON, C++ and DBLIB

  • There are some old C++ applications that connect to my databases using DBLIB.

    If I put SET NOCOUNT ON in the head of my procedure I get a DB CURSOR EXCEPTION::Unable to open cursor.

    Does anyone know what is going wrong and how can I get around it?

  • The code may have anticipated a rowcount returned first, moving to the second result set. Now that you removed the count, it is failing?

    It's a guess, but I've seen this before in VB with ADO.

    Terry

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

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