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.
Art S. Kagel — — source: Usenet: comp.databases.informix
Michael Andreas wrote:
> Hi,
>
> using the following SQL-Command I copy very fast a lot of rows
> from a INFOMIX DB (source) into a ACCESS DB (destination):
>
> INSERT INTO tab SELECT * FROM [ODBC;DSN=DB;UID=name;PWD=test;].tab WHERE> tab_typ = 50;
>
> After changing the IDS Server from version 7 to version 10 I allways get the
> message "Types incompatible". Why?
>
> The column-types are serial, integer and char.
>
> Is there anyone who is able to help me?
Try casting the SERIAL column to INTEGER:
INSERT INTO tab SELECT INTEGER::serial_col, col2, col3,...
Art S. Kagel
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.