I have taken over a database that is just wrong in so many ways, that for me to maintain it would be a nightmare. I have decided to rework the whole thing, and i want to get it right from the start. I have been staring at the tables, trying to decided what to do and that's my problem. I am finding it rather complicated deciding how to divide the tables for normalization. Here's what I have and what I need...
tblFundDetails
FundNumber (PK)
SKNumber
APNumber
InvoiceCCY
FundName
FundDataSource
That table is pretty simple. Here's the tough part. Each fund belongs to one of three clients. But each client operates out of different locations and has different transaction types per location. So my second table looks something like:
tblFeeSchedules
Client (PK)
Center (PK)
Security (PK)
Charge
Price
Currency
I need to be able to set up referential integrity against these two tables. I thought maybe a thiord linking table that holds FundNumber and ClientName, but this doesn't seemt owork for me either. I will happily give any more info you might need and have a sanitized version of the database I can pass. I need to get this solved to continue on my project. Thanks in advance. "Only two things are infinite, the universe and human stupidity, and I'm not sure about the former." Albert Einstein.
Robert L. Johnson III, A+, Network+, MCP
robert.l.johnson.iii@citi.com
tblFundDetails
FundNumber (PK)
SKNumber
APNumber
InvoiceCCY
FundName
FundDataSource
That table is pretty simple. Here's the tough part. Each fund belongs to one of three clients. But each client operates out of different locations and has different transaction types per location. So my second table looks something like:
tblFeeSchedules
Client (PK)
Center (PK)
Security (PK)
Charge
Price
Currency
I need to be able to set up referential integrity against these two tables. I thought maybe a thiord linking table that holds FundNumber and ClientName, but this doesn't seemt owork for me either. I will happily give any more info you might need and have a sanitized version of the database I can pass. I need to get this solved to continue on my project. Thanks in advance. "Only two things are infinite, the universe and human stupidity, and I'm not sure about the former." Albert Einstein.
Robert L. Johnson III, A+, Network+, MCP
robert.l.johnson.iii@citi.com