Re: How can i ...
Posted in 1992
David Kosenko — — source: Informix-list mailing list archive (1991-1998)
Laurence Humblet writes: >I want to insert a record in a table with a primary key of type SERIAL and >obtain the generated value of the primary key in a variable in my >application. After inserting a record containing a serial field, the value of the serial field inserted is available in sqlca.sqlerrd[2] (1 for esql/c). Dave -- Disclaimer: These opinions are not those of Informix Software, Inc. ************************************************************************** "I look back with some satisfaction on what an idiot I was when I was 25, but when I do that, I'm assuming I'm no longer an idiot." - Andy Rooney