Question

IN YOUR OWN WORD explain the primary, foreign, entity integrity rule, and referential integrity rule, and...

IN YOUR OWN WORD explain the primary, foreign, entity integrity rule, and referential integrity rule, and how they are important and relate to a structured database

Homework Answers

Answer #1

The basis of Referential integrity is foreign keys.

A Foreign key in one table references a primary key in another table. The primary key for a table uniquely identifies entities (rows) in the table. Primary keys are maintained with entity integrity.

Entity integrity provides two properties for primary keys:

1. the primary key for a row is unique; it does not match the primary key of any other row in the table

2. the primary key is not null, no component of the primary key may be set to null

The uniqueness property rule ensures that the primary key for each row uniquely identifies and there are no duplicates. The second property ensures that there is meaning for everything

Referential integrity provides mechanism for foreign keys, it must specify that foreign key the table whose primary key is being referenced. It ensures only one property for foreign keys.

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
explain the primary, foreign, entity integrity rule, and referential integrity rule, and how they are important...
explain the primary, foreign, entity integrity rule, and referential integrity rule, and how they are important and relate to a structured database
1- How can database systems improve data quality and data integrity? 2- Discuss database constraints: Primary...
1- How can database systems improve data quality and data integrity? 2- Discuss database constraints: Primary key, check, and referential integrity constraints? Give an example for each.
Question 1 2 Marks Briefly explain the referential integrity rule. Provide a suitable situation when the...
Question 1 2 Marks Briefly explain the referential integrity rule. Provide a suitable situation when the referential integrity constraint is violated. Question 2 2 Marks This question refers to the Part table as used in this unit lecture slides about the customers to order homeware parts. Using SQL DCL command to write a statement to permit a user with the log in ID of JOHNSON to access the Part table and update its UnitPrice value. Question 3 2 Marks Consider...
Database question: In your own word, explain why do designers use Denormalization? What is the limitation...
Database question: In your own word, explain why do designers use Denormalization? What is the limitation of using Denormalization? Name and explain a better alternative approach than Denormalization.
define academic misconduct, professionalism and integrity in your own words. Why is this important in Nursing...
define academic misconduct, professionalism and integrity in your own words. Why is this important in Nursing discipline?
ON SQL Explain Normalization and Denormalization of data, What is ACID in SQL? Please explain in...
ON SQL Explain Normalization and Denormalization of data, What is ACID in SQL? Please explain in your own word as much as possible, List the steps in creating a View, List the steps in modifying a View, List the steps in creating a table, List the steps in modifying a table, What are the different Joins? please give examples, Create a database and populate the database with data of your choice, List and explain the different data types used in...
In your own word, Explain how excess cash might cause or worsen the agency problem.
In your own word, Explain how excess cash might cause or worsen the agency problem.
a) Explain, in details using your own word, the effect of doping semiconductor (silicon for example)...
a) Explain, in details using your own word, the effect of doping semiconductor (silicon for example) with donor atoms. Mention the reason of naming Donor. b) Explain, in details using your own word, the effect of doping semiconductor (silicon for example) with acceptor atoms. Mention the reason of naming Acceptor.
Explain in detail and in your own words the four primary characteristics of successful entrepreneurs
Explain in detail and in your own words the four primary characteristics of successful entrepreneurs
In your own word please explain and write in complete sentences. *What are 3 heat related...
In your own word please explain and write in complete sentences. *What are 3 heat related illness? How do you care for them? *What are the signs and symptom of hypothermia? How do you care for it? *What is a concussion?
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT