Re: variation of "weak link" lookup table

[prev] [thread] [next] [Date index for 2004/06/24]

From: Tony Bowden
Subject: Re: variation of "weak link" lookup table
Date: 07:20 on 24 Jun 2004
On Wed, Jun 23, 2004 at 08:47:05PM -0500, step2@xxxxxxxxxxxxxxxx.xxx wrote:
> and i have artist alias setup like so:
> artistid1 | artistid2
>      1    |     4
>      4    |     1

Do you need to have this database structure? This sort of thing is usually
easier solved if this table doesn't work both ways - i.e. there's a
"deinitive" version of the artist which is only ever in the first column
of this, and all the aliases are in the second column...

In you're set-up you're duplicating information. If you later discovered
that you'd accidentally linked artist 1 and artist 4 you'd have to
delete two rows from your table, rather than just 1 - an anathema to
most database designers!

Tony

variation of "weak link" lookup table
step2 01:47 on 24 Jun 2004

Re: variation of "weak link" lookup table
Tony Bowden 07:20 on 24 Jun 2004

Re: variation of "weak link" lookup table
steve shapero 08:09 on 24 Jun 2004

Re: variation of "weak link" lookup table
merlyn (Randal L. Schwartz) 15:10 on 24 Jun 2004

Re: variation of "weak link" lookup table
steve shapero 18:43 on 24 Jun 2004

Re: variation of "weak link" lookup table
Tony Bowden 07:23 on 24 Jun 2004

Generated at 11:34 on 01 Dec 2004 by mariachi v0.52