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 > Database Server Software > DB2 > need Suggestion

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-30-11, 06:06
rajivjoshi rajivjoshi is offline
Registered User
 
Join Date: Jul 2011
Posts: 1
Question need Suggestion

Hi All,

could you any one help me what is exactly called as "Whole key". As of my knowledge it is like Under second and third normal forms, a non-key field must provide a fact about the key, us the whole key, and nothing but the key. In addition, the record must satisfy first normal form. But i need exact defination of wht is called Whole key.

Please help me out ASAP..
Thank you
Reply With Quote
  #2 (permalink)  
Old 07-30-11, 13:25
stolze stolze is offline
Registered User
 
Join Date: Jan 2007
Location: Jena, Germany
Posts: 2,662
Can you tell us the context where this term is used? It is not a standard term in the relational model and/or SQL. So the author who used it must have some meaning attached to it, which may become clear from the whole text.
__________________
Knut Stolze
IBM DB2 Analytics Accelerator
IBM Germany Research & Development
Reply With Quote
  #3 (permalink)  
Old 08-24-11, 06:25
dportas dportas is offline
Registered User
 
Join Date: Dec 2007
Location: London, UK
Posts: 732
Quote:
Originally Posted by rajivjoshi View Post
Hi All,

could you any one help me what is exactly called as "Whole key". As of my knowledge it is like Under second and third normal forms, a non-key field must provide a fact about the key, us the whole key, and nothing but the key. In addition, the record must satisfy first normal form. But i need exact defination of wht is called Whole key.

Please help me out ASAP..
Thank you
Whole key just means all the attributes of a key rather than only some proper subset of the attributes of a key (a key can consist of any number of attributes).

The phrase: "the key, the whole key and nothing but the key" is commonly used as an informal way of describing 2nd and 3rd Normal Forms. 3rd Normal Form requires that every non key attribute depends on every candidate key - meaning the entire set of attributes of every key and not just part of any key. Hence "the whole key".

Note that a table can have more than one candidate key and therefore the phrase "the key, the whole key and nothing but the key" isn't really sufficient. A more accurate description of 2NF and 3NF would be: "Every non-key attribute must be a fact about every key, the whole of every key and nothing but the keys". Unfortunately that doesn't scan so well!
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