Re: SQLCopyDesc to copy rows between tables - Mailing list pgsql-odbc

From Hiroshi Inoue
Subject Re: SQLCopyDesc to copy rows between tables
Date
Msg-id 52907911.3080407@tpf.co.jp
Whole thread Raw
In response to SQLCopyDesc to copy rows between tables  (Przemyslaw Rzepecki <przemyslaw.rzepecki@ericsson.com>)
Responses Re: SQLCopyDesc to copy rows between tables
List pgsql-odbc
(2013/11/18 1:25), Przemyslaw Rzepecki wrote:
> Hi,
>
> I am trying to use SQLCopyDesc function to copy rows between tables. My
> code
> follows example given by MS-DN:
> http://msdn.microsoft.com/en-us/library/ms715378%28v=vs.85%29.aspx
> (tested also with exactly the example code). With pqsql-odbc driver
> first call
> to SQLCopyDesc fails with error:
> SQLCopyDesc: HY000: src descriptor != target type (1)
>
> Is it possible to copy rows between tables without copying data to
> application
> level with pgsql-odbc driver?

AFAIR SQLCopyDesc has no such functionality.

regards,
Hiroshi Inoue



pgsql-odbc by date:

Previous
From: Keri Harris
Date:
Subject: Prepared statement with bytea domain cannot be executed with BoolsAsChars=1
Next
From: Przemyslaw Rzepecki
Date:
Subject: Re: SQLCopyDesc to copy rows between tables