70 likes | 92 Views
The constraints are fundamentally the set of rules used for reducing the information that can be saved in the database. This is referred to as the relational integrity constraints.<br>https://www.ducatindia.com/datascienceusingpython
E N D
Welcome To Ducat India RELATIONAL INTIGRITY CONSTRAINTS Language | Industrial Training | Digital Marketing | Web Technology | Testing+ | Database | Networking | Mobile Application | ERP | Graphic | Big Data | Cloud Computing 7070905090 info@ducatindia.com
Relational Integrity Constraints The constraints are fundamentally the set of rules used for reducing the information that can be saved in the database. This is referred to as the relational integrity constraints. Maintaining the protection and integrity of a database is one of the essential factors that need to be taken in measuring the fulfilment of the system. Types of Relational Integrity Constraints There are five major types of relational integrity constraints are as follows
Key Constraint An attribute that can uniquely recognize a row in a relation is known as the key of the table. The value of the attribute for several rows in the relationship has to be specific. Example Consider the following Employee Table Note: This is not allowed because all the rows need to be unique.
Tuple Uniqueness Constraint Tuple Uniqueness constraint defines that all the tuples have to be particular specific in any relation. Example Consider the following Employee Table This association satisfies the tuple uniqueness constraint because here, all the tuples are unique
Entity Integrity Constraint Entity integrity constraint represents that no characteristics of the primary key can have an invalid cost. Example A null value for an attribute defines that either the value is not known or is not applicable. Therefore, if an association has a null value for a primary attribute, then we cannot protect the unique feature of the primary key. Consider the following Employee Table Note: This is not allowed because the primary key cannot have a null value.
THANK YOU 7070905090 info@ducatindia.com