Re: [ODBC] HY0000 on SQLDescribeParam

Поиск
Список
Период
Сортировка
От Inoue, Hiroshi
Тема Re: [ODBC] HY0000 on SQLDescribeParam
Дата
Msg-id 7d65260f-cab1-6ee3-55fc-4344ad0a244a@dream.email.ne.jp
обсуждение исходный текст
Ответ на [ODBC] HY0000 on SQLDescribeParam  (Igor Korot <ikorot01@gmail.com>)
Ответы Re: [ODBC] HY0000 on SQLDescribeParam  (Igor Korot <ikorot01@gmail.com>)
Список pgsql-odbc
Hi Igor,

On 2017/07/30 14:01, Igor Korot wrote:
> Hi, ALL,
> I'm getting an error calling SQLDescribeParam() on PostgreSQL 9.4.
>
> The message obtained by SQLGetDiagRec() reads:
>
> [quote]
> Unfortunately couldn't get this parameter info.
> [/quote]
>
> I'm on OSX 10.8 using iODBC DM.
> The PostgreSQL ODBC driver is not the current one (at least I don't think so).
>
> This same call succeeded with MS SQL Server.
>
> Does anybody have an idea of how to work around this?

Could try to turn on the UseServerSidePrepare option?
i.e set
  UseServerSidePrepare = 1
to your odbc.ini file.

regards,
Hiroshi Inoue



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

Предыдущее
От: Igor Korot
Дата:
Сообщение: [ODBC] HY0000 on SQLDescribeParam
Следующее
От: Igor Korot
Дата:
Сообщение: Re: [ODBC] HY0000 on SQLDescribeParam