CCP505

You might also like

Download as ppt, pdf, or txt
Download as ppt, pdf, or txt
You are on page 1of 15

DEPARTMENT OF TECHNICAL

EDUCATION ANDHRA PRADESH


Name : K. Chandra Sekhar
Designation : Associate Lecturer
Branch : DCCP
Institute : C I C, Tarnaka, Hyd.
Year/Semester : V Semester
Subject : Relational Database
Management System
Subject Code : CCP-505
Topic : Understand the Capabilities of
RDBMS
Duration : 50 Minutes
Sub-Topic : Explain CODD’s Rules for RDBMS
Teaching Aids : PPT, Animation, Photographs
CCP505.26 1
Objectives

On Completion of this period, you would be


able to know :
 What are CODD Rules
 List the CODD Rules
 Explanation about rules 1 to 6

CCP505.26 2
Structure

 CODD Rules
 List of CODD Rules
 The Information rule
 The rule of guaranteed access
 The systematic Treatment of null values
 The Data base description rule
 The comprehensive data
 Sub-language rule
 The view updating rule
CCP505.26 3
Recap

 In our previous class we have learned


 Various advantages offered by RDBMS
 How they are useful to maintain Data
 What is data independence
 Importance of Data Security

CCP505.26 4
CODD Rules

1. The Information Rule


2. The Rule of guaranteed access
3. The systematic treatment of all null values
4. The Database description rule
5. The Comprehensive data sub-language rule
6. The View Updating rule

CCP505.26 5
CODD Rules…..
7. The Insert and Update rule
8. The Physical independence rule
9. The Logical data Independence rule
10. Integrity Independence rule
11. Distribution rule
12. No Subversion rule

CCP505.26 6
1. The Information Rule

1) All information is explicitly and logically


represented as data values in tables.

2) From these rules it is clear that if a data


does not exist in a table in the database
then it is not present at all.

CCP505.26 7
2. The Rule of guaranteed access

1) Every item of data must be logically


addressable with the help of a table name,
primary key value and column name.

2) By this, we understand that any individual


item or record can be retrieved by a
knowledge of the table name, primary key
value of the row and the column name
where it is to be found.

CCP505.26 8
3. The Systematic treatment of all null values

1) The DBMS must support null values to represent

missing or inapplicable information

2) It should be independent of data type.

3) An important aspect that should be noted here is

that NULL is different from space or zeros.

CCP505.26 9
4. The Database description rule

1) A description of the database is maintained


using the same logical structures with which
data was defined by the DBMS.

2) These are accessible by users with


appropriate authority and are stored in the
data dictionary.

CCP505.26 10
5. The Comprehensive data
sub-language rule
According to this rule, the system must
support the following
 Data Definition

 View Definition

 Data Manipulation

 Integrity Constraints

 Authorization

 Transaction Management operators


CCP505.26 11
6. The View Updating rule

The user should be able to update the data


through any available view

CCP505.26 12
Summary
 List of CODD Rules(12 in Numbers) are provided
to maintain the standards of Data base.
 The Data base which strictly flows the CODD rules
is categorized as RDBMS package.
 Any software to be called as RDBMS must follow
the CODD rules.
 Codd rules covered in this lesson are
 The Information rule, The rule of guaranteed
access
 The systematic Treatment of all null values, The
Database description rule, The Comprehensive
data sub-language rule, The view updating rule
CCP505.26 13
Quiz

12
1. CODD Rules are ____in number
2. Any package to be categorized as RDBMS
CODD'S rules
package must follow _________
3. Null value must be supported by RDBMS
TRUE/FALSE TRUE

CCP505.26 14
Examination Questions

 Explain the following CODD'S rules


 Information rule
 Rule of guaranteed access
 Systematic treatment of Null values
 Database description
 Comprehensive data sublanguage
 View updating rule

CCP505.26 15

You might also like