![]() |
| ||
| Link Tables 1 Attachment(s) Hi, I want to implement a functionality in a database so that a menu can hold as many drinks and as many food items as possible. I am using a Link table for this functionality. Please have a look at the link Tables.doc file attached. There is a picture (er diagram) of part of the database. Your help might help... Thanks - Zahid |
| ||
| Re: Link Tables 1 Attachment(s) Hi Zahid, you´re describing a One-to-Many relationship between Menu and Food/Drink. So you have to insert the primary key from Menu as foreign key into both Food and Drink. It should look something like this (see attachment). Hope this helps. |
| ||
| Re: Link Tables Hi, Thanks a lot for the reply. I understand how to do it now... PERFECT!!!! Thanks a lot. Quote:
|
| All times are GMT -4. The time now is 10:13 am. |
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC