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.
Jonathan Leffler — — source: Informix-list mailing list archive (1991-1998)
>From: stefanis@hpcss01.cup.hp.com (Nick Stefanisko)
>Subject: value of last SERIAL inserted?
>Date: Thu, 27 Jan 1994 23:48:42 GMT
>
>I know there is an ESQL command to return the value of the last
>SERIAL inserted into a table but I can't remember what it is or
>where to find it. Pointers anyone?
In ESQL/C, sqlca.sqlerrd[1] contains the serial value up to the time the
next SQL statement is executed. Guide to SQL (Dec 91): p 5-8.
Yours,
Jonathan Leffler (johnl@informix.com) #include <disclaimer.h>
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.