In Database Systems What Is Meant By Referential Integrity?
What do you know about it?
1 Answer - Sort by: Date | Rating
Referential integrity is a rule that also helps in maintaining the organized form of data. It preserves the relationships defined between the data entities during the data updates. In the case of relational data model, relations/tables are the data entities. All these entities in a database are connected with on another via one or more attributes. These attributes are normally called 'primary key 'of the table.
By applying the rules of referential integrity, you ensures that no any update can be effective that destroy the relations defined between tables , i.e. no any value of foreign key can be entered that does not has a corresponding primary key value in the related table.
In a database, data is stored in more than one relation, thus complete information about an entity may be stored in more than one tables. When two relations/tables are linked with each other through a relationship, one is called a master table and other is called child table.
The referential integrity rules are used in such cases to provide the following advantages:
1. If the record does not exist in master table, it can not be stored in child table.
2. A record can not be deleted from master table unless that record is deleted first from relevant child table.
By applying the rules of referential integrity, you ensures that no any update can be effective that destroy the relations defined between tables , i.e. no any value of foreign key can be entered that does not has a corresponding primary key value in the related table.
In a database, data is stored in more than one relation, thus complete information about an entity may be stored in more than one tables. When two relations/tables are linked with each other through a relationship, one is called a master table and other is called child table.
The referential integrity rules are used in such cases to provide the following advantages:
1. If the record does not exist in master table, it can not be stored in child table.
2. A record can not be deleted from master table unless that record is deleted first from relevant child table.
0
0
- What Is Indexed File Organization?
- How The Performance Of Database?
- How Is That The Additional Hardware Affect The Data Base Management System?
- How Do You Automate Starting And Shutting Down Of Databases In Unix?
- What Is Centralize Database Management System?
- What Is Hierarchy Or Structure Of Database?
- Explain How Records And Related Records Are Deleted To Ensure The Integrity?
- What Is The Definition Of Hierarchical?
- What Is Rule Based Query?
- Network Data Model And How Its Structure Contributed To Database Environment Development?
- What Is Null In Database?
- What Is Relationship In Terms Of Dbms?
- Which Of The Following Statements About Referential Integrity?
- Will The Little Ma Mind Get The Ind Entity?
- Describe Hierarchical Database And It's Example?
- What Are The Advantagem Of Database Management Approach To Organizing?
- Why Does Integrating Flat File Data In A Database Improve Data Integrity?
- What Is Sequential?
- What Do Index Mean?
- How To Remember Stationary And Stationery?
- What Is Program Data Independence?
- List Of Different Database Management System?
- Discuss The Concept Of Data Independence And Its Importance In A Database Environment?
- What Are The Various Keys In Sql?
- What Is Database Development?

New Comment - Comments are editable for 5 min.