>> Here are the two tables.
>
>You don't need to have marathon_entries.marathon_type - you already
>reference the marathon_login table using its primary key.

ok, you are correct.  And this made me realize that I still need the field, but 
that it shouldn't be a foreign key.  The marathon_login.marathon_type is the 
marathon type that they are currently logged into.  The 
marathon_entries.marathon_type has whatever marathon was in use when the entry 
was created.

Still, I wonder why the original field wouldn't work as a foreign key.  Was it 
because the table was already referenced through the marathon_id?

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:184299
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