The Eduladder is a community of students, teachers, and programmers just interested to make you pass any exams. So we help you to solve your academic and programming questions fast.
In eduladder you can Ask,Answer,Listen,Earn and Download Questions and Question papers.
Watch related videos of your favorite subject.
Connect with students from different parts of the world.
Apply or Post Jobs, Courses ,Internships and Volunteering opportunity. For FREE
See Our team
Wondering how we keep quality?
Got unsolved questions? Ask Questions

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

Asked On2018-09-06 01:37:43 by:anonymousguy7799

Taged users:

Be first to like this question

Be first to dislike this question
Talk about this  Like  Dislike
View all qusetions
The Insert Operation This operation can violate all constraints in a relational database.Domain constraints can be violated if an attribute value is given that does not appear in the corresponding domain. 
Key constraints can be violated if a key value in the new tuple already exits in another tuple in the relation R. Entity constraints can be violated if the primary key of the new tuple is null. 
Referential integrity can be violated if the value of any foreign key in t refers to a tuple that does not exist in the referenced relation. Examples of this operation: 
• Insert <`Ahmad',`Jabbar', null, `60/04/05',F,28000,null,4> into EMPLOYEE.
 This insertion violates the entity integrity constraints (SSN=null). Insert <`Alicia',`Zelaya',`999887777',`60/04/05',F ,28000,`987654321',4> into EMPLOYEE. 
This insertion violates the key constraint (SSN=999887777 is already exists). • Insert <`Ahmad',`Jabbar',`677678989',`60/04/05',M, 28000,`987654321',7> into EMPLOYEE. This insertion violates referential integrity (DNO=7, there is no DEPNUMBER=7 in DEPARTMENT relation). • Insert <`Ahmad',`Jabbar',`987987987',`69/03/29',M,2800,null,4> into EMPLOYEE. This insertion is acceptable.

The Delete Operation This operation can violate only referential integrity. Examples of delete operation:
 • Delete the WORKS_ON tuple with SSN=`123456789' and PNO=1. This deletion is acceptable.
 • Delete the EMPLOYEE tuple with SSN=`999887777'. This deletion violates the referential integrity (tuples in WORKS_ON refer to this tuple).
• Delete the EMPLOYEE tuple with SSN=`333445555'. This deletion violates referential integrity (tuples in EMPLOYEE, DEPARTMENT, WORKS_ON, and DEPENDENT refer to this tuple)
The Update Operation The new value must be of the correct data type and domain. Examples of update operation:
 •Update the SALARY of the EMPLOYEE tuple with SSN=`999887777' to 28000. This update is acceptable. 
•Update the DNO of the EMPLOYEE tuple with SSN=`999887777' to 7. This update violates referential integrity (there is no DNUMBER=7 in DEPARTMENT relation). 
• Update the SSN of the EMPLOYEE tuple with SSN=`999887777' to `987654321'.. 

Answerd on:2018-09-06 Answerd By:Nikhil-bharadwaj

Be first to like this answer

Be first to dislike this answer
Talk about this  Like  Dislike

You might like this video:Watch more here

Watch more videos from this user Here

Learn how to upload a video over here

Lets together make the web is a better place

We made eduladder by keeping the ideology of building a supermarket of all the educational material available under one roof. We are doing it with the help of individual contributors like you, interns and employees. So the resources you are looking for can be easily available and accessible also with the freedom of remix reuse and reshare our content under the terms of creative commons license with attribution required close.

You can also contribute to our vision of "Helping student to pass any exams" with these.
Answer a question: You can answer the questions not yet answered in eduladder.How to answer a question
Career: Work or do your internship with us.Work with us
Create a video: You can teach anything and everything each video should be less than five minutes should cover the idea less than five min.How to upload a video on eduladder