SQLCopyDesc to copy rows between tables

Поиск
Список
Период
Сортировка
От Przemyslaw Rzepecki
Тема SQLCopyDesc to copy rows between tables
Дата
Msg-id 28C0F92D1CDD9C459B4449A93A77D15C1153FAC3@ESESSMB107.ericsson.se
обсуждение исходный текст
Ответы Re: SQLCopyDesc to copy rows between tables  (Hiroshi Inoue <inoue@tpf.co.jp>)
Список 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

В списке pgsql-odbc по дате отправления:

Предыдущее
От: Nick Gorham
Дата:
Сообщение: Re: Is the linking with -lodbc necessary? (--with-odbc)
Следующее
От: Przemyslaw Rzepecki
Дата:
Сообщение: SQLColAttribute with SQL_DESC_LENGTH for varchar and text types