VisualBuilder
  Home > Database > Tutorials > Boyce-Codd Normal Form(BCNF) - Database Tutorial
Tell a friend
Link to us
Total Members
      Members: 84606
     
Sitemap Forum Chat
Home
Database Tutorial Home
1 . Introduction To Database
2 . Data Models
3 . Three-Schema Architecture of Database Systems
4 . Database System Architectures
5 . Codd\'s Rules for Relational Databases.
6 . Keys in DBMS
7 . Concept of Normalization
8 . First Normal Form
9 . Second Normal Form
10 . Third Normal Form
11 . Boyce-Codd Normal Form(BCNF)
12 . Fourth Normal Form
13 . Fifth Normal Form (Projection-Join Normal Form)
14 . Introduction TO SQL
15 . Transactions in DBMS
16 . Steps to Design Database for a System
 
Database Group Home
Database Discussion
Database Members (489)
Database Resources
Database Source Code (0)
Database Articles (0)
Database Blogs
Database Jobs
Database Components (0)
Database Books
Database Websites (0)
Database News (0)
Database Q & A (14)
- Database Ask Question
- Database Questions
- Database Unanswered Questions
 
GROUPS
.NET
ASP.NET
.NET
C#
ASP
Visual Basic
Java
Java
JSP
EJB
Other
Delphi
C++
Ajax
UML
JavaScript
PHP
Web Design
Web Hosting
SQL Server
Oracle
Project Management
More Groups

 
LEARNING CENTER
TUTORIALS
.NET
.NET Tutorial
ASP Tutorial
ASP.NET Database Tutorial
ASP.NET Development Tips
ASP.Net Security,Internationalisation And Deployment
ASP.NET Server Controls Tips
ASP.NET Tutorial
C Sharp Tutorial
Web Development
Flex Tutorial
HTML Tutorial
Learn AJAX Tutorial
PHP Tutorial
Software Development
Database Tutorial
SQL Tutorial
UML Tutorial
Java
Ant Tutorial
EJB 3 Tutorial
Hibernate Tutorial
Java Tutorial
Java Web Component Tutorial
Java XML Tutorial
JDBC Tutorial
JDK1.5 Tutorial
JSF Tutorial
JSP And J2EE Design Tutorial
JSP Tutorial
Spring Tutorial
Struts Tutorial

RESOURCES
Q & A (432 )
Source Code (3217 )
Articles (11 )
Components (1589 )
News (880 )
Websites (1207 )

SUBMISSIONS
Submit Article
Submit Website
Submit News
Submit Source Code
Submit Component

COMMUNITY
Members Directory
Discussion Forum
Chat

SITE
About Us
Sitemap
Search
Contact Us
Link To Us
Feedback
Tell a Friend
Partners
Advertise


Database Tutorial
 Boyce-Codd Normal Form(BCNF)
  << Prev: Third Normal Form Next: Fourth Normal Form >>
A table is in Boyce-Codd normal form (BCNF) if and only if it is in 3NF and every determinant is a candidate key.

  1. Anomalies can occur in relations in 3NF if there is a composite key in which part of that key has a determinant which is not itself a candidate key.

  2. This can be expressed as R(A,B,C), C--->A where:

    • The relation R contains attributes A, B and C.

    • A and B form a candidate key.

    • C is the determinant for A (A is functionally dependent on C).

    • C is not part of any key.



  3. Anomalies can also occur where a relation contains several candidate keys where:

    • The keys contain more than one attribute (they are composite keys).

    • An attribute is common to more than one key.




Example to understand BCNF:-


Take the following table:





























campus course class time room/bldg

East


English 101


1


8:00-9:00


212 AYE


East


English 101


2


10:00-11:00


305 RFK


West


English 101


3


8:00-9:00


102 PPR


Note that no two buildings on any of the university campuses have the same name, thus ROOM/BLDG----->CAMPUS. As the determinant is not a candidate key this table is NOT in Boyce-Codd normal form.


This table should be decomposed into the following relations:


R1(course, class, room/bldg, time)


























course class time room/bldg

English 101


1


8:00-9:00


212 AYE


English 101


2


10:00-11:00


305 RFK


English 101


3


8:00-9:00


102 PPR


R2(room/bldg, campus)




















campus room/bldg

East


212 AYE


East


305 RFK


West


102 PPR


 


  << Prev: Third Normal Form Next: Fourth Normal Form >>
Database Tutorial Home
Give feedback and win a prize.

 
   Printer Friendly
   Email to a friend
   Add to my Favourites    
  Download PDF version
   Report Bad Submissions
   Submit Feedback
 
  Delicious   Digg   Technorati   Blink   Furl   Reddit   Newsvine   Google Click each image to add
this page to each site.
 
 
Welcome Guest Signup
MEMBER'S PANEL
EMAIL
PASSWORD
Forgot your password?
New User? Click Here!
 
Resend Activation Email!
 
SEARCH
 
 
LINKS
MSN
Video Surveillance
Hosted Exchange, SDSL
Gift to Pakistan
 
ADVERTISEMENT
 
PARTNER LIST

More
 
 
 

Home | Login | About Us | Contact Us | Privacy Policy | Advertising