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.
E.F. Codd Wanna be — — source: Informix-list mailing list archive (1991-1998)
vsp@triada.triad.com (Vaishali Padhye) wrote:
>Hi,
>I am inserting a record in a stored procedure for a table having
>a serial column, now I want to find out the value the serial
>column got assigned and return it.
>I know it gets assigned in sqlca.sqlerrd[1], but thats useful in
>4gl or esql program, can this structure be accessed in a stored
>procedure? Any pointers will be a great help. Thanks!
>Vaishali Padhye
>Triad Systems Corp.
>#include <std_disclaimer.h>
There should be no problems in returning the sqlca.sqlerrd[2] in your
procedure. I have done this extensivley in 7.11.
(entrican@exo.com)
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.