Alexandre P. L.
New member
- Local time
- Today, 18:03
- Joined
- Jan 19, 2012
- Messages
- 2
Hello,
I have started a database project over at work to record operational data in order to reduce paperwork and increase data analysis possibilities. I am having issues building forms and I think it may be because of an invalid / inefficient database structure / relations. Could someone perhaps just give a quick look to my database diagram and tell me if there is an obvious problem with it ? It is not very large (12 tables, 12 links) It would be awesome and I would be very thankful !
My take on it is that there are a few superfluous fields (Name / Description) and/or that my use of primary keys is not correct. When I try to build forms, if I do not use textual primary keys with a meaningful name ("T-LEAK-DISCHARGE" for example) I cannot use a field with more meaningful values than numbered primary keys as a way to refer to a specific item. One way to achieve this would be to make that field a primary key but it will be the same as what I did. Is it possible to have 2 primary keys ? That does not seem to make sense. Also that would imply that I would need double links between some tables which seems inelegant at best.
A quick translation of a few french words to english (the db is in french):
Bris = Breakage
Donnee = Data
Nom = Last name
Prénom = First name
Many thanks
I have started a database project over at work to record operational data in order to reduce paperwork and increase data analysis possibilities. I am having issues building forms and I think it may be because of an invalid / inefficient database structure / relations. Could someone perhaps just give a quick look to my database diagram and tell me if there is an obvious problem with it ? It is not very large (12 tables, 12 links) It would be awesome and I would be very thankful !
My take on it is that there are a few superfluous fields (Name / Description) and/or that my use of primary keys is not correct. When I try to build forms, if I do not use textual primary keys with a meaningful name ("T-LEAK-DISCHARGE" for example) I cannot use a field with more meaningful values than numbered primary keys as a way to refer to a specific item. One way to achieve this would be to make that field a primary key but it will be the same as what I did. Is it possible to have 2 primary keys ? That does not seem to make sense. Also that would imply that I would need double links between some tables which seems inelegant at best.
A quick translation of a few french words to english (the db is in french):
Bris = Breakage
Donnee = Data
Nom = Last name
Prénom = First name
Many thanks