Re: How can I keep an OdbcDataAdapter from using fully qualified tble names?

Поиск
Список
Период
Сортировка
От George Weaver
Тема Re: How can I keep an OdbcDataAdapter from using fully qualified tble names?
Дата
Msg-id 98EDE81FC196430094E58830820A6828@D420
обсуждение исходный текст
Ответ на How can I keep an OdbcDataAdapter from using fully qualified tble names?  (Rob Richardson <interrobang@yahoo.com>)
Список pgsql-odbc
>----- Original Message -----
>From: Rob Richardson

>The issue is that ADO.Net's OdbcDataAdapter object automatically expands
>the table name "MyTable" into "MyDatabase.public.MyTable", and PostgreSQL
>cannot
>handle that.

I think you'll find that it is not ADO.Net's OdbcDataAdapter that expands
the table name, but
the CommandBuilder - I use ADO Net's OdbcDataAdapter extensively without
problem,
but I write my own OdbcCommands.

George

>In PgAdmin, "insert into cycle (cycle) values ('Another cycle')" succeeds,
>but "insert into Anneal.public.cycle (cycle) values ('Another one')" fails
>with
>the cross-database references not implemented error.  The OdbcDataAdapter
>object
>automatically converts a query of the first form into a query of the second
>form, and I want to know how to stop it from doing that.

>RobR


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

Предыдущее
От: Nils Gösche
Дата:
Сообщение: Re: How can I keep an OdbcDataAdapter from using fully qualified tble names?
Следующее
От: Stephen Frost
Дата:
Сообщение: Re: using pgsql-odbc using client certificate auth