From: mlw <markw@mohawksoft.com>
To: Vikram Sulakhe <sulak001@bama.ua.edu>
Cc: pgsql-odbc@postgresql.org
Subject: Re: Accessing PGSQL
Date: Tue, 10 Sep 2002 09:29:58 -0400
Message-ID: <3D7DF3D6.FEA5727A@mohawksoft.com> (raw)
References: <003b01c25886$43218f50$8ea1a082@redstorm>
Vikram Sulakhe wrote:
>
> Hi!
>
> Is there a way to execute a SQL query directly from a Win NT machine, on a
> pgSQL database that is remotely installed?
>
> I tried using CRecordset Object to connect to this remote pgSQL database.
> But if I have a very large database (say 10,000 records), then searching for
> a particular record takes lot of time as we need to traverse through all the
> records in CRecordset.
>
> I can use m_strFilter property of CRecordset, but then I have to open the
> database again and this is also very time consuming process.
>
> So I am looking for a quick way to locate a particular record in a
> collection of say 10,000 records.
>
> Is there a work-around for this?
I'm not sure you need a work around and 10,000 records is not very large. I
have a few databases with well over 10 million records, and I would consider
these moderately sized.
First of all, you seem to be confusing ODBC with a database class library. They
are not the same.
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: markw@mohawksoft.com, sulak001@bama.ua.edu
Subject: Re: Accessing PGSQL
In-Reply-To: <3D7DF3D6.FEA5727A@mohawksoft.com>
References: <003b01c25886$43218f50$8ea1a082@redstorm> <3D7DF3D6.FEA5727A@mohawksoft.com>
* 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