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.
Andrew Miller — — source: Informix-list mailing list archive (1991-1998)
kcj@netcom.com (Kate Juliff) wrote:
>How do I check for nulls in a column of type INTEGER?
Use an indicator variable for the host variable you're selecting into. The
indicator variable will contain -1 if the field is NULL. See the "Indicator
Variables" section of "Programming with ESQL/C for Windows" for more details.
Andrew
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.