home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!gossip.pyramid.com!pyramid!infmx!davek
- From: davek@informix.com (David Kosenko)
- Newsgroups: comp.databases.informix
- Subject: Re: How can i ...
- Message-ID: <1992Dec14.173311.24034@informix.com>
- Date: 14 Dec 92 17:33:11 GMT
- References: <1g7bcdINNa9d@emory.mathcs.emory.edu>
- Sender: news@informix.com (Usenet News)
- Organization: Informix Software, Inc.
- Lines: 15
-
- 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
-