I can't seem to wrap my mind around the concept.
I'm working on a database to track technical documents that is supposed to be as flexible as possible.
The tables I've created are:
tblDocumentTitle
DocumentTitle
DocumentTitleID
tblDocumentNumber
DocumentNumber
DocumentNumberID
tlbDocumentDescription
DocumentDescription
DocumentDescriptionID
tblVersionNumber
VersionNumber
VersionNumberID
tblVersionDate
VersionDate
VersionDateID
tblDocumentStatus
DocumentStatus (Relased, In Review, In Work, Archived)
DocumentStatusID
tblStatusName (we need the name of the person reviewing or working on the doc if it's In Review or In Work)
StatusName
StatusNameID
tblDocumentAuthor
AuthorFirstName
AuthorLastName
AuthorCompany
DocumentAuthorID
tblDocumentOwner
OwnerFirstName
OwnerLastName
OwnerCompany
DocumentOwnerID
tblClientName
ClientName
ClientNameID
All of the ID fields are autonumbered primary keys. I haven't added any foreign keys because I'm not sure which I'll need. And, quite frankly, I'm not getting the concept of relationships so I'm not sure how to relate any of these tables. I'd appreciate any light anyone can shine on the subject for me.
I'm working on a database to track technical documents that is supposed to be as flexible as possible.
The tables I've created are:
tblDocumentTitle
DocumentTitle
DocumentTitleID
tblDocumentNumber
DocumentNumber
DocumentNumberID
tlbDocumentDescription
DocumentDescription
DocumentDescriptionID
tblVersionNumber
VersionNumber
VersionNumberID
tblVersionDate
VersionDate
VersionDateID
tblDocumentStatus
DocumentStatus (Relased, In Review, In Work, Archived)
DocumentStatusID
tblStatusName (we need the name of the person reviewing or working on the doc if it's In Review or In Work)
StatusName
StatusNameID
tblDocumentAuthor
AuthorFirstName
AuthorLastName
AuthorCompany
DocumentAuthorID
tblDocumentOwner
OwnerFirstName
OwnerLastName
OwnerCompany
DocumentOwnerID
tblClientName
ClientName
ClientNameID
All of the ID fields are autonumbered primary keys. I haven't added any foreign keys because I'm not sure which I'll need. And, quite frankly, I'm not getting the concept of relationships so I'm not sure how to relate any of these tables. I'd appreciate any light anyone can shine on the subject for me.