![]() |
|
1
1st May 02:42
External User
Posts: 1
|
I'm going to stop here...
This means that everyone I will ever want to model in this database can be identified by 'Joe'; no-one will ever have any other identity. The domain is a type, and defines (in some way) all the possible valid values for that type. So, your domain of people can only ever identify Joe. Similarly, your domain D_Hair says that the only possible hair colours of interest, ever, will be Red and Blond. No-one who has black, white, grey, brown, or purple-with-pink-stripes hair will be of interest to this database (or, if they are, they'll have to be treated as either red or blond or both - or neither?). So, I think you've over-minimized your domains. Einstein said "Make everything as simple as possible, but no simpler". -- Jonathan Leffler #include <disclaimer.h> Email: jleffler@earthlink.net, jleffler@us.ibm.com Guardian of DBD::Informix v2005.02 -- http://dbi.perl.org/ |
|
|
SPONSORED LINKS BY GOOGLE |
|
|