I'd agree that it seems clumsy. The queries would be horrific - you'd be 
self-joining to the same table multiple times. Ouch.


----- Original Message ----- 
From: "Bryan Stevenson" <[EMAIL PROTECTED]>
To: "CF-Talk" <[email protected]>
Sent: Monday, May 09, 2005 12:06 PM
Subject: Re: odd data model


>> This does not seem too odd to me what you discribe, if I understand,
>> is just a normalized Schema it seams....Products, Categories, and
>> Colors then a linking table that dictates what products/colors are in
>> what category...
>
> Adam...the example was simple and has nothing to do with products ;-)
>
> Typically (using prod/cat/colour example) you'd have 4 tables (product,
> category, colour, product_colour) and the products table would be joined 
> to
> the category table via cat_id (one to one) and to the colour table via the
> product_colour table which contains colour_id and product_id (one to 
> many).
>
> What I've been shown is a central table that has product_id, cat_id,
> colour_id and the cat_id would be duplicated for each colour_id.
>
> I've never seen it done this way...seems clumsy
>
> Bryan Stevenson B.Comm.
> VP & Director of E-Commerce Development
> Electric Edge Systems Group Inc.
> phone: 250.480.0642
> fax: 250.480.1264
> cell: 250.920.8830
> e-mail: [EMAIL PROTECTED]
> web: www.electricedgesystems.com
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:206091
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to