Re: Reading a Column After Insert
Posted in 1996
Bernhard Rawein — — source: Informix-list mailing list archive (1991-1998)
Rajendra Singh wrote: > > In ESQL/C, how do you read a column from a row that was just inserted? > In particular, I am interested in reading the contents of a serial > column after I have done an insert. > > Thanks! > --- > Rajendra Singh, B. Sc. (Rajendra_Singh@msn.com) > "What is understood need not be discussed." - Loren Adams Rajendra, check the definition of the sqlca record in your esql/c - manuals; this record includes an array of 6 integers named sqlerrd. The value of sqlca.sqlerrd[1] /*zero based index*/ after a successful insert is the value of the generated serial value. Bernhard Rawein Alphatron GmbH Munich