viewquestions/12459/Discuss the significance of assertion Database Management Systems 10CS54 VTU notes DECJAN 2013 JAN 2014

The Eduladder is a community of students, teachers, and programmers just interested to make you pass any exams. So we solve previous year question papers for you.
See Our team
Wondering how we keep quality?
Got unsolved questions?

Ask Questions
Database-Management-Systems---10CS54-VTU-notes-->View question

Briefly discuss how the different update operations on a relation deal with constraint violations? : Database Management Systems - 10CS54 VTU notes 8 marks (June/July 2015)

Explain constraint  violations? 


Taged users:

Be first to like this question

Be first to dislike this question

Talk about thisDelete|Like|Dislike|


There are three types of constraints on relational database:

• Domain Constraints • Primary Key Constraints • Integrity Constraints Domain Constraints: It specifies that each attribute in a relation must contain an atomic value only from the corresponding domains. Domain constraint specifies the condition that we want to put on each instance of the relation. So the values that appear in each column must be drawn from the domain associated with that column.
 Key Constraints: This constraints states that the key attribute value in each tuple must be unique, i.e., no two tuples contain the same value for the key attribute. This is because the value of the primary key is used to identify the tuples in the relation.
 Integrity Constraints: There are two types of integrity constraints:• Entity Integrity Constraint • Referential Integrity Constraint
Entity Integrity Constraint: It states that no primary key value can be null. This is because the primary key is used to identify individual tuple in the relation. So we will not be able to identify the records uniquely containing null values for the primary key attributes. Referential Integrity Constraint: It states that the tuple in one relation that refers to another relation must refer to an existing tuple in that relation. This constraint is specified on two relations, not necessarily distinct.


Be first to like this answer

Be first to dislike this answer
Talk about this|Once you have earned teacher badge you can edit this questionDelete|Like|Dislike|

Can you help us to add better answer here? Please see this

Not the answer you're looking for? Browse other questions from this Question paper or ask your own question.

Join eduladder!