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.
"Ramdas Gopinath" — — source: Informix-list mailing list archive (1991-1998)
On 22 Mar 96 at 4:04, Rajendra Singh wrote:
> In ESQL/C, how do you read a column from a row that was just inserted?
> In particular, I am interested in reading the contents of a serial
> column after I have done an insert.
>
Just assign sqlca.sqlerrd[2] to an integer variable. It contains the
value for the Serial Column that you would have just inserted.
You should look up the Manual for the structure of the sqlca record,
because it contains very useful info.
Gopi.
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.