viewquestions/12448/ Explain how groupBy clause worksWhat is the difference between WHERE and Having Database Management Systems 10CS54 VTU notes 8 Marks DecJan 2014 JuneJuly 2015

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? 

By:anonymousguy7799

Taged users:


Likes:
Be first to like this question

Dislikes:
Be first to dislike this question

Talk about thisDelete|Like|Dislike|


Answers

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.


Nikhil-bharadwaj

Likes:
Be first to like this answer

Dislikes:
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!