Identify any referential integrity violations, if any

Assignment Help Database Management System
Reference no: EM13949726

Referential Integrity Check

Question 1 - Given the following data types of some table fields and the simple schema of the relational database they are a part of, inspect its relationships for any referential integrity violations. If any exist, list what they are:

Note: You can assume that cascading updates and deletes are not enabled.

Field data types for each table, with (PK) indicating the primary key field:

Employee Table
Field Name Type
EmployeeID (PK) Long Int
First_Name Text
Last_Name Text
Phone Text

Vehicle Table
Field Name Type
Vehicle_ID (PK) Long Int
Driver_ID Long Int
Model Text

Device Table
Field Name Type
Device_ID (PK) Int
EmployeeID Int
Type Text

Part Table
Field Name Type
Part_ID (PK) Int
Device_ID Long Int
Type Text

Conceptual schema showing inter-table relationships:

The actual schema in MS Access would look as follows:

Question 2 - Given the following data for the Employee and Vehicle tables, identify any referential integrity violations, if any:

EmployeeID First_Name Last_Name Phone
11 Chris Smith 8134567690
12 Pat Malone 9145551234

Vehicle_ID Driver_ID Model
1234 11 Ford F 150
4567 12 Toyota Rav4
2233 11 Pontiac
4993 NULL Chevy
6457 13 VW Jetta

Question 3 - As a user, can you delete the first record in the Employee table above, without violating any referential integrity rules? Explain why?

Attachment:- Referential_Integrity_Check.doc

Reference no: EM13949726

Questions Cloud

Why these four concepts are important for you intellectually : Can you discuss why these four concepts are important for you intellectually and/or professionally.
Demonstrate understanding of the manual accounting process : Demonstrate an understanding of the manual accounting process in an accounting information system, students will be required to identify and record transactions and process them to the preparation of financial reports.
The budgeted beginning cash balance : The desired ending cash balance is $40,000. To attain its desired ending cash balance for December, the company needs to borrow:
Find relationship between independent and dependent variable : Which regression models explain less than 50% of the observed variation between the actual values of the dependent variable and the mean value of the dependent variable values for the sample data set?
Identify any referential integrity violations, if any : Given the following data types of some table fields and the simple schema of the relational database they are a part of, inspect its relationships for any referential integrity violations
Compute the break-even point in units and sales dollars : Compute the break-even point in units and sales dollars. What was the margin of safety for Victoria Company last year?
Determine the final pressure : Water vapor is cooled in a closed, rigid tank from 520°C and 100 bar to a final temperature of 270°C. Determine the final pressure, in bar, and sketch the process onT-y and p-y diagrams.
Quality of a two-phase liquid-vapor mixture : 1. Each of the following exercises requires evaluating the quality of a two-phase liquid-vapor mixture: (a) The quality of a two-phase liquid-vapor mixture of H2O at 40°C with a specific volume of 10 m3/kg is
Why are the lines an example of dramatic irony : 1. Oedipus' words close the Prologue as he says: "Now I am here./ I will begin the search again. I/ will reveal the truth, expose everything" (160-2). (a) Why do the words show Oedipus to be a strong king? (b) Why are the lines an example of dramatic..

Reviews

Write a Review

Database Management System Questions & Answers

  Knowledge and data warehousing

Design a dimensional model for analysing Purchases for Adventure Works Cycles and implement it as cubes using SQL Server Analysis Services. The AdventureWorks OLTP sample database is the data source for you BI analysis.

  Design a database schema

Design a Database schema

  Entity-relationship diagram

Create an entity-relationship diagram and design accompanying table layout using sound relational modeling practices and concepts.

  Implement a database of courses and students for a school

Implement a database of courses and students for a school.

  Prepare the e-r diagram for the movie database

Energy in the home, personal energy use and home energy efficiency and Efficient use of ‘waste' heat and renewable heat sources

  Design relation schemas for the entire database

Design relation schemas for the entire database.

  Prepare the relational schema for database

Prepare the relational schema for database

  Data modeling and normalization

Data Modeling and Normalization

  Use cases perform a requirements analysis for the case study

Use Cases Perform a requirements analysis for the Case Study

  Knowledge and data warehousing

Knowledge and Data Warehousing

  Stack and queue data structure

Identify and explain the differences between a stack and a queue data structure

  Practice on topic of normalization

Practice on topic of Normalization

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd