Anyone have any idea how can i computing the functional Dependency of a Access Table???? For example in the table of employee table.. most fields should be dependent on the primary key...
For example, in my table there are fields like,
personId, Name, Surname, age, date of birth,Area code, telephone number, address, country.
I would like to compute the Functional Dependency for each field.. Which meant a column C1 is functionally dependent if the valuse of C1 uniquely implies another column C2 x% of the time, where x is a user specified value.
Therefore in my table..
1)Name, surname,telephone number, address, country functionally depend on the personId.
2) age depend on Date of birth because age is a derived value, from the current date and date of birth
3) Area code depend on the country.
The x% is the dependacy percentage...fully dependent or partial depend, maybe due to 2 primary keys in the table.
we shouldnt store age in the table, tat wat i want to detect in my porgram. I'm trying to develop a tool tat allow user to analysis their Access DB.
In this case of the age, we shouldnt stored derived column, age, in the table, because we could compute using the DOB. This also means tat Age is functional dependent on DOB. I want to detect these type of relationship. In another words, i will like to analyse the relationships between column within a table.
The main aim of my program is to analysis any ACcess DB. To detect normalisation and To analyse that if is there any First, 2nd or 3rd Normal form
For example, in my table there are fields like,
personId, Name, Surname, age, date of birth,Area code, telephone number, address, country.
I would like to compute the Functional Dependency for each field.. Which meant a column C1 is functionally dependent if the valuse of C1 uniquely implies another column C2 x% of the time, where x is a user specified value.
Therefore in my table..
1)Name, surname,telephone number, address, country functionally depend on the personId.
2) age depend on Date of birth because age is a derived value, from the current date and date of birth
3) Area code depend on the country.
The x% is the dependacy percentage...fully dependent or partial depend, maybe due to 2 primary keys in the table.
we shouldnt store age in the table, tat wat i want to detect in my porgram. I'm trying to develop a tool tat allow user to analysis their Access DB.
In this case of the age, we shouldnt stored derived column, age, in the table, because we could compute using the DOB. This also means tat Age is functional dependent on DOB. I want to detect these type of relationship. In another words, i will like to analyse the relationships between column within a table.
The main aim of my program is to analysis any ACcess DB. To detect normalisation and To analyse that if is there any First, 2nd or 3rd Normal form