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.
"Timothy M. Hood" — — source: Informix-list mailing list archive (1991-1998)
Andreas Schubert wrote:
>
> Is there a way to get by SELECT statement the content of SQLERRD[2] -- the
> generated serial number after INSERT? (not in ESQL environment, must be
> single SQL query).
I'm not sure why you don't just reference SQLCA.SQLERRD[2]. Otherwise,
you can fetch the serial number column from the table you just inserted
into. You said no ESQL, but didn't say whether 4GL or ISQL or what.
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.