I would go the second table route. It's possible that down the road you'll want 
to set featured articles to only persist for a time.  Then you'll need a start 
and end date. Or you'll need something else that you can't predict right now.

Terrence Ryan
I.T. Director
Wharton Computing and Information Technology       
E-mail:         [EMAIL PROTECTED]


-----Original Message-----
From: Aaron Roberson [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, October 09, 2007 9:01 PM
To: CF-Talk
Subject: Help with DB design delimma

Hey all,
Here is my simple use case: I have a table of articles. I would like to
indicates some as featured.

Here is my dilemma: Since only a few rows in the table will be featured
articles I figured it would be bad to have an "isfeatured" field in the
table. Why have a field for every row when a small minority will actually
use it? My thought was to create a second table with all of the featured
article id's. However, should I really create a table with one field just
for maintaining a list of article id's?

What would be the "best" approach?

Thanks,
Aaron




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Get involved in the latest ColdFusion discussions, product
development sharing, and articles on the Adobe Labs wiki.
http://labs/adobe.com/wiki/index.php/ColdFusion_8

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

Reply via email to