ESQL C and sqlerrd[2]
Posted in 1992
I am receiving replies to my original message about fetch returning 0 in sqlerrd[2] while sqlcode = 0. The messages all say that sqlerrd[2] does not return the number of rows. I am using ESQL/C version 4.1 and sqlerrd[2] DOES return the number of rows in the active set. This application I have written works 99% of the time with sqlerrd[2] returning the number of rows. In fact, I got the idea to look at that variable for the number of rows from Dave Snyder (and I believe he knows what he is talking about). In the ESQL/C manual it saya: ... sqlerrd[2] is the number of rows processed. ... Therefore, does anyone have any idea what's going on with this?? Any help is appreciated, Kristen -- ******************************************************* * Kristen Altman * * kma@ccd.harris.com * * Harris Controls Division * * Melbourne, FL * *******************************************************