Skip site navigation (1) Skip section navigation (2)

Re: Windows client?

From: "Mark A(dot) Taff" <mark(at)libertycreek(dot)net>
To: "Cedar Cox" <cedarc(at)visionforisrael(dot)com>, "Laurette Cisneros" <laurette(at)nextbus(dot)com>
Cc: <pgsql-odbc(at)postgresql(dot)org>
Subject: Re: Windows client?
Date: 2002-02-13 14:13:09
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-odbc
I just tried this with Access 2000 on win2k with PostgreSQL on RH 7.2 and it
worked, with minor adjustments, as follows:

SELECT * FROM members
 IN ''
Where members.county='King';

Note that ADO connection objects distinguish between system dsn's (DSN) and
file dsn's (FILEDSN).  I also added a where clause to demonstrate where (no
pun intended :) ) to put the where clause in the query in relation to the IN
clause, for those new to more complicated queries.

Mark Taff

-----Original Message-----
From: pgsql-odbc-owner(at)postgresql(dot)org
[mailto:pgsql-odbc-owner(at)postgresql(dot)org]On Behalf Of Cedar Cox
Sent: Wednesday, February 13, 2002 4:43 AM
To: Laurette Cisneros
Cc: pgsql-odbc(at)postgresql(dot)org
Subject: Re: [ODBC] Windows client?

Access can make an interesting environment.  If you just want to write SQL
and get a worksheet grid back then it may be the thing for you.  Linking
tables is not even necessary.  You must, of course, have the PG ODBC
driver installed.  Try this (a normal query, not passthrough or anything

SELECT * FROM tblsomething
 IN ''

It works in Access 97.  I don't know about 2k (let me know if anyone tries
it).  Of course, you must change the connect string to your settings (and
change the query to something proper), but the connect string usually
never change, apart from possibly UID and PWD.  IIRC, after you create
this you can even use the graphical query builder in Access (with no
linking of tables).  The drawback is that I think (IIRC) there is one
connection to the server per query, but shouldn't be a problem if you're
just doing "casual" database work and not building an application.  Sorry
if I'm not remembering things correctly.. it's been a while since I've
done Access work.


On Tue, 12 Feb 2002, Laurette Cisneros wrote:

> Hi all,
> Quick question...any suggested clients that can be used on Windows to
> access a PostgreSQL server on linux (via ODBC)?  Mostly for executing SQL
> commands and perhaps other functions?
> Thanks,
> --
> Laurette Cisneros
> (510) 420-3137
> NextBus Information Systems, Inc.
> Passenger Information Everywhere

---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster

In response to

pgsql-odbc by date

Next:From: Laurette CisnerosDate: 2002-02-13 22:45:07
Subject: Re: time problem with postgres ODBC driver (fwd)
Previous:From: Cedar CoxDate: 2002-02-13 12:42:59
Subject: Re: Windows client?

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group