Translating with DrWatson… this can take a few seconds the first time.
This is a genuine, complex translation. DrWatson protects commands, error codes, and log output while naturally translating the surrounding text. It’s translated once and saved.
Koen Van der Elst — — source: Informix-list mailing list archive (1991-1998)
> I would like to know in advance how many rows will be returned from a
SELECT
> statement, to be able to allocate my correspondig C-structures at once.
Try looking into the sqlca and related records. They are C structures. One
of the members of the structures contains the number of fields touched by
an SQL operation.
Reminder : To perform a non-singleton select in ESQL/C you need a cursor !
Koen
Your privacy choices
We use strictly necessary cookies to make this site work. With your
consent we’d also use optional cookies for analytics and marketing. You can accept all,
reject all, or choose. Read our Cookie Policy.