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.
Obnoxio The Clown — — source: Informix-list mailing list archive (1991-1998)
From: cornelhughes@netscape.net
>
>I am trying to get the last serial value in order to insert another
>record which would have as its value the prior records cust_id field
>(which is a serial field type) value + 1. Does anyone know of a way to
>do this?
>
>I have tried using select dbinfo('sqlca.sqlerrd1') from systables where
>tabid = 122 but I keep on getting 0.
Sure you're not doing some other SQL in between?
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.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.