If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > General > Database Concepts & Design > Recipe confusion

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-18-05, 18:10
Lonissa Lonissa is offline
Registered User
 
Join Date: Nov 2005
Posts: 1
Recipe confusion

I'm working on a very simple recipe database, but it has a slight complication... recipes can in turn be ingredients. For example, a turkey sandwich recipe could contain a mayo recipe, a bread recipe, etc. I just can't figure out how to plan it right... any suggestions?
Reply With Quote
  #2 (permalink)  
Old 11-20-05, 20:01
urquel urquel is offline
Registered User
 
Join Date: Aug 2004
Posts: 330
Try looking at this post. http://www.dbforums.com/t1201563.html In your case, leave out the bag table and include a recursive relationship on the recipe table. The recursive relationship will allow you to make a recipe able to contain many recipes.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On