J
jk
I am in the begining stages of designing a DB which would track the expenses
of 40 customers . Each customer has a unique five digit ID and the expenses
would go against their location cost center number which is a unique six
digit number. The customers are billed monthly and each invoice can only have
one expense account billed for the services provided(One to One
Relationship). In the customer table, thier unique ID would be the primary
key and i would like to know if the cost center would be a secondary primary
key since each customer can only have one cost center?
CUS TABLE INVOICE TABLE EXPENSE ACCTS
CUS ID=22525---PK MKZ25260----PK 47472-----PK ( AUTONUMBER)
COSTCTR=242456---PK
of 40 customers . Each customer has a unique five digit ID and the expenses
would go against their location cost center number which is a unique six
digit number. The customers are billed monthly and each invoice can only have
one expense account billed for the services provided(One to One
Relationship). In the customer table, thier unique ID would be the primary
key and i would like to know if the cost center would be a secondary primary
key since each customer can only have one cost center?
CUS TABLE INVOICE TABLE EXPENSE ACCTS
CUS ID=22525---PK MKZ25260----PK 47472-----PK ( AUTONUMBER)
COSTCTR=242456---PK