cmptrguru7
06-14-02, 19:49
| I have a situation where I am creating a table that needs a triple field primary key. However, one of the fields may be null. I do not believe you can have a null field part of the primary key? I am using mysql as the DB enviornment. I am creating a hotel like structure where a room can be in a particular tower (3 choices), and each room can change type depending on setup. The rooms are also designated by number based on tower and inside each room there can be up to 4 different sides which need to be associated with a particular person occupying the room. If anyone can help me with this or if you need further information please let me know. |