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 > Normalization

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-27-06, 15:36
trss trss is offline
Registered User
 
Join Date: Sep 2006
Posts: 20
Question Dependency violated

I've got this functional dependency, Department -> HOD(Head-Of-Department). But what do I do in case of change in the HOD of a department? Should I consider this dependency at all since for the same dept. in 2 tuples, diff. values of HOD would exist? Or is it better that the old HOD is overwritten by the new HOD? Same goes for class teacher. But this method reduces the usability of the software since we can't view which HOD a particular batch was under.
If we don't consider the dependency, a very large no. of tuples would contain same value of HOD. I may be wrong. If you think I'm confused, do help me out.
In OODBMS, we could create something like a linked list but still we cannot store which HOD was there for which batch? In RDBMS even this is not possible as far as I know. Or is it? If yes, how? Else, what do I do?

Last edited by trss; 09-28-06 at 11:15.
Reply With Quote
  #2 (permalink)  
Old 09-28-06, 09:53
blindman blindman is offline
World Class Flame Warrior
 
Join Date: Jun 2003
Location: Ohio
Posts: 11,726
Huh?

Table structure, please.
__________________
If it's not practically useful, then it's practically useless.

blindman
www.chess.com: "sqlblindman"
Reply With Quote
  #3 (permalink)  
Old 09-28-06, 10:17
pootle flump pootle flump is offline
King of Understatement
 
Join Date: Feb 2004
Location: One Flump in One Place
Posts: 14,905
Just an FYI Blindman. A little duplicate posting:
Normalization question

The PM I refer to was mainly questioning what on earth I meant by "you have answered this yourself".
__________________
Testimonial:
Quote:
pootle flump
ur codings are working excelent.
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