pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
SQLCopyDesc to copy rows between tables
3+ messages / 2 participants
[nested] [flat]

* SQLCopyDesc to copy rows between tables
@ 2013-11-17 16:25 Przemyslaw Rzepecki <przemyslaw.rzepecki@ericsson.com>
  2013-11-23 09:44 ` Re: SQLCopyDesc to copy rows between tables Hiroshi Inoue <inoue@tpf.co.jp>
  0 siblings, 1 reply; 3+ messages in thread

From: Przemyslaw Rzepecki @ 2013-11-17 16:25 UTC (permalink / raw)
  To: pgsql-odbc

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?

Regards,
Przemyslaw

^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: SQLCopyDesc to copy rows between tables
  2013-11-17 16:25 SQLCopyDesc to copy rows between tables Przemyslaw Rzepecki <przemyslaw.rzepecki@ericsson.com>
@ 2013-11-23 09:44 ` Hiroshi Inoue <inoue@tpf.co.jp>
  2013-11-25 09:05   ` Re: SQLCopyDesc to copy rows between tables Przemyslaw Rzepecki <przemyslaw.rzepecki@ericsson.com>
  0 siblings, 1 reply; 3+ messages in thread

From: Hiroshi Inoue @ 2013-11-23 09:44 UTC (permalink / raw)
  To: Przemyslaw Rzepecki <przemyslaw.rzepecki@ericsson.com>; 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



-- 
Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbc



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: SQLCopyDesc to copy rows between tables
  2013-11-17 16:25 SQLCopyDesc to copy rows between tables Przemyslaw Rzepecki <przemyslaw.rzepecki@ericsson.com>
  2013-11-23 09:44 ` Re: SQLCopyDesc to copy rows between tables Hiroshi Inoue <inoue@tpf.co.jp>
@ 2013-11-25 09:05   ` Przemyslaw Rzepecki <przemyslaw.rzepecki@ericsson.com>
  0 siblings, 0 replies; 3+ messages in thread

From: Przemyslaw Rzepecki @ 2013-11-25 09:05 UTC (permalink / raw)
  To: pgsql-odbc

Thanks for the answer. Is there is list of ODBC3.0 features not
supported by the pgsql-odbc driver?
Regards,
Przemek

On Sat, 2013-11-23 at 18:44 +0900, Hiroshi Inoue wrote:
> 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



^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2013-11-25 09:05 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2013-11-17 16:25 SQLCopyDesc to copy rows between tables Przemyslaw Rzepecki <przemyslaw.rzepecki@ericsson.com>
2013-11-23 09:44 ` Hiroshi Inoue <inoue@tpf.co.jp>
2013-11-25 09:05   ` Przemyslaw Rzepecki <przemyslaw.rzepecki@ericsson.com>

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