Re: How can I keep an OdbcDataAdapter from using fully qualified tble names? - Mailing list pgsql-odbc

From George Weaver
Subject Re: How can I keep an OdbcDataAdapter from using fully qualified tble names?
Date
Msg-id 98EDE81FC196430094E58830820A6828@D420
Whole thread Raw
In response to How can I keep an OdbcDataAdapter from using fully qualified tble names?  (Rob Richardson <interrobang@yahoo.com>)
List 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 by date:

Previous
From: Nils Gösche
Date:
Subject: Re: How can I keep an OdbcDataAdapter from using fully qualified tble names?
Next
From: Stephen Frost
Date:
Subject: Re: using pgsql-odbc using client certificate auth