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.
Gert Brinkmann — — source: Informix-list mailing list archive (1991-1998)
Stephan Meier wrote:
>
> How can I retrieve the value of a counter field after an insert statement,
> not containing the counter field.
>
> EG. Table: TEST(id counter, name char(20))
>
> insert into TEST (name) values ('Miller');
Is a "counter"-field a "serial" ? If so then try
"select id from TEST where id = dbinfo('sqlca.sqlerrd1');"
after the insert.
Gert.
--
Gert Brinkmann email: gbrinkmann@dimedis.de
Software Development tel: 0221/921260-0
dimedis GmbH fax: -99
Habsburgerring 2-12 http://www.dimedis.de
50674 Koeln http://www.RealTimeImage.de
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.