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.
Chris Dornsife — — source: Informix-list mailing list archive (1991-1998)
>We have a software developed with Oracle Pro*C accessing data via Oracle
>OCA
>(Open Client Adapter) and ODBC to access Informix databases.
>
>All is fine except when we try to retrieve data form varchar and
>smallint informix fields. In this situation we get the correct value +
>garbagge (strange characters). With other
>data types (i. e. char or integer) is working fine.
>
Try casting the columns into types that don't get mangled.
select number::int from table....
select name::char(255) from table....
hope this helps
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.