pg.ddx.io pgsql-odbc@postgresql.org mailing list archive
help / color / mirror / Atom feedAccessing PGSQL
2+ messages / 2 participants
[nested] [flat]
* Accessing PGSQL
@ 2002-09-10 04:55 Vikram Sulakhe <sulak001@bama.ua.edu>
2002-09-10 13:29 ` Re: Accessing PGSQL mlw <markw@mohawksoft.com>
0 siblings, 1 reply; 2+ messages in thread
From: Vikram Sulakhe @ 2002-09-10 04:55 UTC (permalink / raw)
To: pgsql-odbc
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?
Regards,
Vikram
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: Accessing PGSQL
2002-09-10 04:55 Accessing PGSQL Vikram Sulakhe <sulak001@bama.ua.edu>
@ 2002-09-10 13:29 ` mlw <markw@mohawksoft.com>
0 siblings, 0 replies; 2+ messages in thread
From: mlw @ 2002-09-10 13:29 UTC (permalink / raw)
To: Vikram Sulakhe <sulak001@bama.ua.edu>; +Cc: pgsql-odbc
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.
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2002-09-10 13:29 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2002-09-10 04:55 Accessing PGSQL Vikram Sulakhe <sulak001@bama.ua.edu>
2002-09-10 13:29 ` mlw <markw@mohawksoft.com>
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