home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / database / informix / 2713 < prev    next >
Encoding:
Internet Message Format  |  1992-12-15  |  1.5 KB

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!swrinde!emory!emory!not-for-mail
  2. From: kristen.m.altman@ccd.harris.com (Kristen Altman)
  3. Newsgroups: comp.databases.informix
  4. Subject: ESQL C and sqlerrd[2]
  5. Date: 15 Dec 1992 14:13:11 -0500
  6. Organization: Mailing List Gateway
  7. Lines: 28
  8. Sender: walt@mathcs.emory.edu
  9. Distribution: world
  10. Message-ID: <1glao7INNhgu@emory.mathcs.emory.edu>
  11. Reply-To: kristen.m.altman@ccd.harris.com (Kristen Altman)
  12. NNTP-Posting-Host: emory.mathcs.emory.edu
  13. X-Informix-List-ID: <list.1706>
  14.  
  15. I am receiving replies to my original message about fetch
  16. returning 0 in sqlerrd[2] while sqlcode = 0.  The messages 
  17. all say that sqlerrd[2] does not return the number of rows.
  18.  
  19. I am using ESQL/C version 4.1 and sqlerrd[2] DOES return the
  20. number of rows in the active set.  This application I have
  21. written works 99% of the time with sqlerrd[2] returning the
  22. number of rows.  In fact, I got the idea to look at that 
  23. variable for the number of rows from Dave Snyder (and I believe
  24. he knows what he is talking about).  
  25.  
  26. In the ESQL/C manual it saya:
  27.     ...
  28.     sqlerrd[2] is the number of rows processed.
  29.     ...
  30.  
  31. Therefore, does anyone have any idea what's going on with
  32. this??
  33.  
  34. Any help is appreciated,
  35. Kristen
  36. -- 
  37. *******************************************************
  38. *                   Kristen Altman                    *
  39. *                 kma@ccd.harris.com                  *
  40. *              Harris Controls Division               *
  41. *                   Melbourne, FL                     *
  42. ******************************************************* 
  43.