If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > General > Database Concepts & Design > how do u determine Functional Dependicies?

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-12-03, 11:50
Xseptional Xseptional is offline
Registered User
 
Join Date: Nov 2003
Posts: 3
how do u determine Functional Dependicies?

Hi all,

I'm new at this... but i have to design a database, but i wanted to avoid the pitalls of redundacy.. most examples i have worked with while learning this stuff gave me the fucntional dependencies.. if given a database with tables and relationships, how do i determine this?

any examples or references would be appreciated

thanks
Janet
Reply With Quote
  #2 (permalink)  
Old 11-12-03, 12:12
andrewst andrewst is offline
Moderator.
 
Join Date: Sep 2002
Location: UK
Posts: 5,171
Re: how do u determine Functional Dependicies?

The only way to determine functional dependencies is to understand the requirements. This is part of the analysis phase - asking users questions about the relationships between different data items. Of course, some can be deduced using common sense and knowledge of the real world. But there is no "automatic" way to determine FD by inspecting attribute names alone, or even by looking at the data. Looking at the data can imply or disprove FDs, but it cannot prove them. For example, if you only have this:

EmpName Dept DateOfBirth
Smith Accounts 01/12/1970
Jones Accounts 01/12/1970
Brown HR 01/12/1970

You might (if you were silly) think DateOfBirth is functionally dependent on Dept. Of course it isn't, but only knowledge of the real world tells us that.

On the other hand, this data proves that there is NOT a functional dependency of EmpName on Dept, because you can see that a given Dept value corresponds to 2 different EmpName values.
__________________
Tony Andrews
http://tinyurl.com/tonyandrews
Reply With Quote
  #3 (permalink)  
Old 11-12-03, 13:30
lmckelvy lmckelvy is offline
Registered User
 
Join Date: Oct 2003
Posts: 107
Re: how do u determine Functional Dependicies?

Dennis Santoro wrote an excellent primer for data normalization that might be worth a quick read.

http://www.rdaworldwide.com/pdox/datanorm.pdf

This was aimed at Paradox Programmers but it is really platform independant in terms of concepts and structuring.

Mac


Quote:
Originally posted by Xseptional
Hi all,

I'm new at this... but i have to design a database, but i wanted to avoid the pitalls of redundacy.. most examples i have worked with while learning this stuff gave me the fucntional dependencies.. if given a database with tables and relationships, how do i determine this?

any examples or references would be appreciated

thanks
Janet
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On