From: Karebac <karebac@verizon.net>
To: kkc@hydrosphere.com
To: pgsql-odbc@postgresql.org
Subject: Re: BEST odbc driver for windows MS Access
Date: Mon, 11 Dec 2006 00:50:28 -0500
Message-ID: <0JA3008ZWHK3K606@vms048.mailsrvcs.net> (raw)
In-Reply-To: <457CF079.7080906@hydrosphere.com>
You could visit utteraccess.com and post at their subforum for posgressql
and mysql. It is a pretty active forum with lots of people knowledgable in
VBA and SQL.
_____
From: pgsql-odbc-owner@postgresql.org
[mailto:pgsql-odbc-owner@postgresql.org] On Behalf Of K. Kelly Close
Sent: Monday, December 11, 2006 12:45 AM
To: pgsql-odbc@postgresql.org
Subject: Re: [ODBC] BEST odbc driver for windows MS Access
And if
not, will I have to go thru MSQuery to get to pgsql via ODBC? I hope not...
I am not to sure how to answer your question. What functionality does
MSQquery give you that you
get some other way with OLEDB.
This is what I'm not actually sure of, but some more research I've done
tonight seems to indicate that the method I've used accessing an OLEDB
source entirely from within code (which is what I'm trying to do) may be
completely adaptable to an ODBC source.
Using SQL Server as an example, I can connect from Excel VBA using code that
looks something like this:
oConn.Open "Provider=sqloledb;Data Source=Aron1;Initial Catalog=pubs;User
Id=sa;Password=asdasd;"00)
I was hoping I could replace the "sqloledb" provider with the proper
reference for the postgresql oledb provider and have a working connection!
I now find that I can theoretically also connect to SQLServer thru ODBC
using a connection string in VBa that looks something like:
oConn.Open "Driver={SQL
Server};Server=Aron1;Database=pubs;Uid=sa;Pwd=asdasd;"
So again, if I install the PostgreSQL ODBC driver and put it in there in
place of {SQL Server}, I should have a working connection I can pass SQL
thru from code...right? :-) That's what I'm going for anyway. I am really
just looking to do pretty simple querying and writing back to the database
with this. If ANYONE out there has any experience with this, from any MS
application using VBA, I would appreciate hearing from them...and any
references to other message lists are welcome too - thanks for the pointer
to the odbcng list, Richard.
~Kelly
And if anyone has thoughts or
experience on OLEDB vs. ODBC for connecting to pgsql from Microsoft
software, I'd love to hear of them!
My opionion of OLEDB for postgresql is that it is broken and certainly not
more stable in this
case. Even worse, there doesn't seem to be much support for the oledb
project as compared with
the odbc projects. If you find that a bug keeps you from completing your
project, there aren't
very many places to turn.
from the following link:
http://archives.postgresql.org/pgsql-odbc/2006-10/msg00009.php
you see that an old version of ODBC was able to handle a load of 600
transactions requests per
second. The Command Prompt odbc-ng appears to almost double this
throughput, however it breaks
when I try to use it. This should be expected since this driver is still
released as being under
the "public test mode".
If you are enterested in using the odbc-ng driver you could use the
following mailing list for
help:
http://lists.commandprompt.com/mailman/listinfo/odbcng
Regards,
Richard Broersma jr.
---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?
http://archives.postgresql.org
--
**************************************
Kelly Close
Database and GIS Specialist
Hydrosphere Resource Consultants, Inc
(303) 443-7839
(303) 442-0616 (fax)
kkc@hydrosphere.com
Visit our web site!
http://www.hydrosphere.com
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.409 / Virus Database: 268.15.15/581 - Release Date: 12/9/2006
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-odbc@postgresql.org
Cc: karebac@verizon.net, kkc@hydrosphere.com
Subject: Re: BEST odbc driver for windows MS Access
In-Reply-To: <0JA3008ZWHK3K606@vms048.mailsrvcs.net>
References: <457CF079.7080906@hydrosphere.com> <0JA3008ZWHK3K606@vms048.mailsrvcs.net>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
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