pg.ddx.io pgsql-odbc@postgresql.org mailing list archive
help / color / mirror / Atom feedMS-QUERY / Postgresql ODBC driver incompatibility
3+ messages / 3 participants
[nested] [flat]
* MS-QUERY / Postgresql ODBC driver incompatibility
@ 2013-11-05 13:00 Info Agipa <info@apli-agipa.com>
2013-11-05 22:19 ` Re: MS-QUERY / Postgresql ODBC driver incompatibility Adrian Klaver <adrian.klaver@gmail.com>
2013-11-06 10:31 ` Re: MS-QUERY / Postgresql ODBC driver incompatibility Nils Gösche <cartan@cartan.de>
0 siblings, 2 replies; 3+ messages in thread
From: Info Agipa @ 2013-11-05 13:00 UTC (permalink / raw)
To: pgsql-odbc
Hello.
I've found a problem in using the postgresql ODBC driver with MS-QUERY.
MS-Query is the tool included in Microsoft Office to access db in excel.
If I type in ms-query :
select code as groupe_clients, libelle
from groupes_clients
I have an error message. After some search, it appears that postgresql receive :
select code as 'groupe_clients', libelle
from groupe_clients
But postgresql don't want ' but double quote " in the as part.
MS-Query doesn't include a parameter to change this.
It seems to be a ms-query bug...
If no solution exists, I think it's a good idea to include an alert in the faq (http://psqlodbc.projects.pgfoundry.org/faq.html)
As I have searching for a loooong time on google to see what I can make to fix this.
Am I the only one wich access to postgresql in excel using ms-query and with as clause ?
my ODBC driver version : 8.03.02.00
my PostgreSQL database version : 8.4.16
Thanks for your attention.
Sylvain Fauveau
--
Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbc
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: MS-QUERY / Postgresql ODBC driver incompatibility
2013-11-05 13:00 MS-QUERY / Postgresql ODBC driver incompatibility Info Agipa <info@apli-agipa.com>
@ 2013-11-05 22:19 ` Adrian Klaver <adrian.klaver@gmail.com>
1 sibling, 0 replies; 3+ messages in thread
From: Adrian Klaver @ 2013-11-05 22:19 UTC (permalink / raw)
To: Info Agipa <info@apli-agipa.com>; +Cc: pgsql-odbc
On Tue, Nov 5, 2013 at 5:00 AM, Info Agipa <info@apli-agipa.com> wrote:
> Hello.
>
> I've found a problem in using the postgresql ODBC driver with MS-QUERY.
> MS-Query is the tool included in Microsoft Office to access db in excel.
>
> If I type in ms-query :
> select code as groupe_clients, libelle
> from groupes_clients
>
> I have an error message. After some search, it appears that postgresql receive :
> select code as 'groupe_clients', libelle
> from groupe_clients
So what if you do:
select code as "groupe_clients", libelle
from groupes_clients
Also you might try creating the query in the Query Designer and
specifying groupe_clients
as the alias. This is how I do it I have not had any issues.
>
> But postgresql don't want ' but double quote " in the as part.
>
> MS-Query doesn't include a parameter to change this.
>
> It seems to be a ms-query bug...
>
> If no solution exists, I think it's a good idea to include an alert in the faq (http://psqlodbc.projects.pgfoundry.org/faq.html)
>
> As I have searching for a loooong time on google to see what I can make to fix this.
> Am I the only one wich access to postgresql in excel using ms-query and with as clause ?
>
> my ODBC driver version : 8.03.02.00
> my PostgreSQL database version : 8.4.16
>
> Thanks for your attention.
>
> Sylvain Fauveau
--
Adrian Klaver
adrian.klaver@gmail.com
--
Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbc
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: MS-QUERY / Postgresql ODBC driver incompatibility
2013-11-05 13:00 MS-QUERY / Postgresql ODBC driver incompatibility Info Agipa <info@apli-agipa.com>
@ 2013-11-06 10:31 ` Nils Gösche <cartan@cartan.de>
1 sibling, 0 replies; 3+ messages in thread
From: Nils Gösche @ 2013-11-06 10:31 UTC (permalink / raw)
To: info@apli-agipa.com; pgsql-odbc
Sylvain Fauveau wrote:
> my ODBC driver version : 8.03.02.00
> my PostgreSQL database version : 8.4.16
If I am not mistaken, that driver is five years old. Try to grab a recent version from
http://www.postgresql.org/ftp/odbc/versions/msi/
I'd try 9.2.1. (Should work fine with Postgres 8.4 in case you're wondering.)
Regards,
--
Nils Gösche
"Don't ask for whom the <CTRL-G> tolls."
Attachments:
smime.p7s (application/x-pkcs7-signature, 5.9K) download
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2013-11-06 10:31 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2013-11-05 13:00 MS-QUERY / Postgresql ODBC driver incompatibility Info Agipa <info@apli-agipa.com>
2013-11-05 22:19 ` Adrian Klaver <adrian.klaver@gmail.com>
2013-11-06 10:31 ` Nils Gösche <cartan@cartan.de>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox