Hi, I'm currently working on a large database that will hold Astronomer's observations, while using telescopes. On of the items on the form is the Object that was observed.
In the database I also need to store basic information on each object (static information - not related to the actual observation)- the problem is that different Object Types have different fields.
For example, here are some of the Object Types: Planet, Comet, Star, Standard, Asteroid. Each of these type of Object can have different set of attributes.
Currently, my incomplete solution is to creat a separate table for each Object type with the appropriate fields for each type.
So for example, i will have a "Comets" table with the fields "a", "b", "c", "Planets" table with the fields "x", "y", "z", etc'. In each table I will list all the object that corespond to the appropriate table.
However this solution is not complete, because the Astronomer will have to choose a single object on their observation log sheet.
How can I combine all of these tables into one list?
(I'm currently in the design stage so it is not a problem to make modification to the tables.)
Please let me know if you have any idea on how to solve this problem. Thanx in advance.
- Sivan
In the database I also need to store basic information on each object (static information - not related to the actual observation)- the problem is that different Object Types have different fields.
For example, here are some of the Object Types: Planet, Comet, Star, Standard, Asteroid. Each of these type of Object can have different set of attributes.
Currently, my incomplete solution is to creat a separate table for each Object type with the appropriate fields for each type.
So for example, i will have a "Comets" table with the fields "a", "b", "c", "Planets" table with the fields "x", "y", "z", etc'. In each table I will list all the object that corespond to the appropriate table.
However this solution is not complete, because the Astronomer will have to choose a single object on their observation log sheet.
How can I combine all of these tables into one list?
(I'm currently in the design stage so it is not a problem to make modification to the tables.)
Please let me know if you have any idea on how to solve this problem. Thanx in advance.
- Sivan