Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

Re: linked tables Access <---> PG 7.4.1: msg#00037

db.postgresql.odbc

Subject: Re: linked tables Access <---> PG 7.4.1

--- Andreas <maps.on@xxxxxxx> wrote:
> Hi,
> I fear this might be off-topic but I'm sure I'd be
> hit, too, if I asked
> something concerning the interaction with PostgreSQL
> on the dark side. ;)

Really an Access question, rather than a PostgreSQL
question, but I'm sure we don't mind ;-)

>
> Client: MS-Access 2000
> Server: PG 7.4.1
>
> I ODBC-link some tables and all is fine.
> Then I manually link a PostgreSQL-view and Access
> asks which of the
> fields will be the primary key of this "table".
>
> Then again, if I link the view with VBA's DAO
> command
> CurrentDB.CreateTableDef( [...] ) no question
> appears and the view gets
> created as a table-object.
> If I inspect it's design, there is no field marked
> as primary key.
>
> Is the PK really obsolete or does it have
> implications in the
> performance of Access or PG ?

AFAIK it only matters if you are inserting(?) or
updating records, which you are probably not doing in
the case of a view. When processing updates, for
example, Access will select the record back from the
database: the primary key will be used in the select,
if there is one, otherwise the select will use an
equality condition on every field for the select. I
find that Access is happier if there is a single key
field in every table, even if one has to be created
for that purpose.

Probably others can elaborate on this. One of the
reasons I use Access is that I don't have to worry too
much about implementation details ;-)

__________________________________
Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
http://hotjobs.sweepstakes.yahoo.com/signingbonus

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



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
qnx.openqnx.dev...    gcc.libstdc++.c...    solaris.opensol...    information-ret...    misc.misterhous...    web.catalyst.ge...    apache.webservi...    redhat.release....    hardware.lirc/2...    kernel.autofs/2...    technology.sust...    linux.vdr/2003-...    editors.lyx.gen...    org.user-groups...    netbsd.devel.pk...    xdg.devel/2004-...    version-control...    jakarta.slide.d...    debian.packages...    creativecommons...    ports.ppc.embed...    bug-tracking.bu...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe