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.
Jonathan Leffler — — source: Informix-list mailing list archive (1991-1998)
>From: rt@astro.ocis.temple.edu (rt@astro.ocis.temple.edu)
>Subject: DATA TYPES
>Date: 5 Jan 1995 15:50:46 GMT
>X-Informix-List-Id: <news.10595>
>Which data type is most suitable for serial numbers that you expect to
>hit 100,000 and more in the course of at least 2 years.
INTEGER has a range of -2147483647 .. +2147483647 -- this would do.
SMALLINT has a range of -32767 .. +32767.
You could also consider the SERIAL type, which is a special case of INTEGER.
>Integer is definitely out for a column data type since it will max out and
>roll over at about 37600 something.
This comment is bovine excrement.
Yours,
Jonathan Leffler (johnl@informix.com) #include <disclaimer.h>
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.