From: Hiroshi Inoue <inoue@tpf.co.jp>
To: Przemyslaw Rzepecki <przemyslaw.rzepecki@ericsson.com>
To: pgsql-odbc@postgresql.org <pgsql-odbc@postgresql.org>
Subject: Re: SQLCopyDesc to copy rows between tables
Date: Sat, 23 Nov 2013 18:44:49 +0900
Message-ID: <52907911.3080407@tpf.co.jp> (raw)
In-Reply-To: <28C0F92D1CDD9C459B4449A93A77D15C1153FAC3@ESESSMB107.ericsson.se>
References: <28C0F92D1CDD9C459B4449A93A77D15C1153FAC3@ESESSMB107.ericsson.se>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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
--
Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbc
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-odbc@postgresql.org
Cc: inoue@tpf.co.jp, przemyslaw.rzepecki@ericsson.com
Subject: Re: SQLCopyDesc to copy rows between tables
In-Reply-To: <52907911.3080407@tpf.co.jp>
References: <28C0F92D1CDD9C459B4449A93A77D15C1153FAC3@ESESSMB107.ericsson.se> <52907911.3080407@tpf.co.jp>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox