pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Joseph <lters@mrtc.com>
To: Tamsin <tg_mail@bryncadfan.co.uk>
Cc: Pgsql-Odbc@Postgresql.Org <pgsql-odbc@postgresql.org>
Subject: RE: access linked tables
Date: Thu, 22 Feb 2001 05:48:17 -0500
Message-ID: <CLEJKCMNOMBPKNIAIODGKECCCAAA.lters@mrtc.com> (raw)
In-Reply-To: <NEBBKHBOBMJCHDMGKCNJKEBHCKAA.tg_mail@bryncadfan.co.uk>

As long as you don't need performance, I would say bound forms, reports is
fine.

If you are working with large tables and need lots of performance than you
want
lots of unbound forms and controls,passthrough queries etc.


Joseph Showalter

-----Original Message-----
From: pgsql-odbc-owner@postgresql.org
[mailto:pgsql-odbc-owner@postgresql.org]On Behalf Of Tamsin
Sent: Thursday, February 22, 2001 5:33 AM
To: postgres odbc
Subject: access linked tables


Hi,
Not sure if this is the right place to ask this - I'm just getting started
converting an access database to use postgresql as the database and access
as the front end.  I'm looking at whether its ok to just use linked tables
and bound forms, or whether I need to use a combination of ADO, pass-through
queries, unbound forms, and explicit code to comunicate with the db.

My question is, although my postgres tables have PKs, with linked tables
when access generates a query to do an update it doesn't use the pk in the
where clause, but does something like:
update tablename set field1 = 'newvalue1', field2 = 'newvalue2'....
where field1 = 'oldvalue1' and field2 = 'oldvalue2'... etc etc for all the
fields in the table.

This seems unneccesary and inefficient to me - is it normal behaviour for
access linked tables?  Is there something I can do to tell access to just
use the pk?

I'm using postgres 7.0.2, ODBC driver 6.5

Thanks,
Tamsin




view thread (5+ messages)  latest in thread

Message-ID: <CLEJKCMNOMBPKNIAIODGKECCCAAA.lters@mrtc.com>
Permalink:  ../CLEJKCMNOMBPKNIAIODGKECCCAAA.lters@mrtc.com/
Also on:    postgresql.org/message-id/CLEJKCMNOMBPKNIAIODGKECCCAAA.lters@mrtc.com

 · 

reply

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: lters@mrtc.com, tg_mail@bryncadfan.co.uk
  Subject: Re: access linked tables
  In-Reply-To: <CLEJKCMNOMBPKNIAIODGKECCCAAA.lters@mrtc.com>
  References: <NEBBKHBOBMJCHDMGKCNJKEBHCKAA.tg_mail@bryncadfan.co.uk> <CLEJKCMNOMBPKNIAIODGKECCCAAA.lters@mrtc.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