Re: Consolidate duplicate entries
- From: Tom van Stiphout <tom7744.no.spam@xxxxxxx>
- Date: Tue, 07 Apr 2009 06:48:06 -0700
On Tue, 7 Apr 2009 09:41:13 +0100, "Tom" <Tom@xxxxxxxxxxxx> wrote:
You do indeed have bad database design, because the Authors table has
a BookID. Rather the Books table should have an AuthorID (if you only
want to record the primary author) or there should be a new table with
BookID and AuthorID (PK over both fields) if you want to record the
(perhaps several) authors for a book.
Enforce all relationships.
Make these changes first; then this "consolidation" is automatically
taken care of.
-Tom.
Microsoft Access MVP
Hi.
Am rebuilding a book db which lists approx 40k of books, on looking through
a table listing the authors - with fields AuthSName, AuthFName, BookID,
AuthorID - we are noticing numerous duplications of the same authors.
AuthSName and AuthFName are text fields while BookID and AuthorID are
numeric fields.
What I would like to do is consolidate duplicated Authors - AuthSName and
AuthFName - so that they have the same AuthorID.
What is the best way to automate this process?
Any advice/suggestions very much appreciated.
TIA
Tom
- Follow-Ups:
- Re: Consolidate duplicate entries
- From: KARL DEWEY
- Re: Consolidate duplicate entries
- References:
- Consolidate duplicate entries
- From: Tom
- Consolidate duplicate entries
- Prev by Date: Designing Forms
- Next by Date: Re: Designing Forms
- Previous by thread: Consolidate duplicate entries
- Next by thread: Re: Consolidate duplicate entries
- Index(es):
Relevant Pages
|