hampster
01 Jun 2009, 04:06 PM
I have a question about setting up a table in MYSQL
Basically, one field would be a "Location". There is a minimum of 1 location, but it is possible for there to be several.
I was thinking about making "Location" a comma separated list of LIDs, then I can just select a certain LID to be IN Location.
It does not seem to be a fairly efficient method- is there a better way to be doing this? What are the pros and cons of this method vs others.
Thanks, Dave
Basically, one field would be a "Location". There is a minimum of 1 location, but it is possible for there to be several.
I was thinking about making "Location" a comma separated list of LIDs, then I can just select a certain LID to be IN Location.
It does not seem to be a fairly efficient method- is there a better way to be doing this? What are the pros and cons of this method vs others.
Thanks, Dave