> Ok, I think I am understanding. So are you saying that I will need
another
> table if this is the case? Say I have antiques and collectible and it
has
> a
> sub_category of furniture. Since not all furniture is antique or
> collectible
> would that require another table?

Exactly. Instead of defining the parent-child relationship in the
category table, you use a second related table to define the
relationship, which allows for a subcategory to have a relationship to
multiple parents. For example:

[categories]
Cat_id
Category


[categoryRelationships]
Cat_id [FK_categories]
Parentid [FK_categories]

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:250575
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to