From: | Barry Bell <Barry_Bell(at)harte-hanks(dot)com> |
---|---|
To: | Rob Richardson <interrobang(at)yahoo(dot)com>, "pgsql-odbc(at)postgresql(dot)org" <pgsql-odbc(at)postgresql(dot)org> |
Subject: | Re: How can I keep an OdbcDataAdapter from using fully qualified tble names? |
Date: | 2012-04-25 14:35:11 |
Message-ID: | 542B943ED5D72E408BF9CBBD61ABC94D52EB6962@VA3DIAXVSC31.RED001.local |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-odbc |
Your SQL"select * from DBNAME.TABLENAME"
Instead of just " select * from TABLENAME" ?
Does the user use a different DB Login then you do?
Try logging as the user into pgadmin and run the SQL.
If you have the same issues, the issue is with the user access rights (or under which right a view/table was created).
Thanks
Barry Bell, IT Department
Office: 954-429-3771 x267 Fax: 954-281-1464 email Barry_Bell(at)harte-hanks(dot)com
-----Original Message-----
From: pgsql-odbc-owner(at)postgresql(dot)org [mailto:pgsql-odbc-owner(at)postgresql(dot)org] On Behalf Of Rob Richardson
Sent: Wednesday, April 25, 2012 10:25 AM
To: pgsql-odbc(at)postgresql(dot)org
Subject: Re: [ODBC] How can I keep an OdbcDataAdapter from using fully qualified tble names?
I want to stick with DSNs because we change databases frequently, mainly on our own systems. Develop first using a test database, then do final testing on a copy of the customer's production database, then, if problems crop up, get an up-to-date copy of the customer's database and debug using that. That's what DSNs are for. They work. (At least until the .Net world apparently decided it knows better.)
I think you're thinking of a different issue. I'm not talking about a fully qualified name of a server, with "mycompany.com" appended to it. I'm talking about a fully qualified table name, with the database name and schema prepended to it.
RobR
--
Sent via pgsql-odbc mailing list (pgsql-odbc(at)postgresql(dot)org) To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbc
From | Date | Subject | |
---|---|---|---|
Next Message | Rob Richardson | 2012-04-25 14:52:40 | Re: How can I keep an OdbcDataAdapter from using fully qualified tble names? |
Previous Message | Rob Richardson | 2012-04-25 14:25:10 | Re: How can I keep an OdbcDataAdapter from using fully qualified tble names? |