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

  Prepare a set of non-functional requirements

Need a system that networks its 3 campuses in the US and one campus in Singapore. Transaction data for all campuses should be available to all locations. In addition, students should be able to use the Internet to view classes, enroll, register, and ..

  Describe technology options associated with an edms

Identify and describe the technology options and functionality associated with an EDMS. describe EHR functionality for ambulatory care facilities, considering the key clinical processes performed and data needed in such a facility.

  Diagram of the table containing the initial data

Diagram of the table containing the initial data - state how you checked that the XML file is well-formed and what messages are sent if it is not well-formed?

  Explore ways of converting depositors to borrowers

Universal Bank is a young bank growing rapidly in overall customer acquisition. The majority of these customers are depositors with varying sizes of relationship with the bank. The customer base of borrowers is quite small, and the bank is interes..

  Objectivesto analyse and comprehend a provided er diagram

objectivesto analyse and comprehend a provided er diagram and database schemato implement a database based on the

  Sketch dfsa for identifiers-contain only letters and digits

Sketch a DFSA for identifiers which contain only letters and digits, where identifier should have at least one letter, but it need not be first character.

  Location information for dui checkpoints

let's consider location information for DUI checkpoints. If law enforcement agencies publish this information, is it okay to have law an app for drivers

  Database implementation in mysql

After receiving 21 different setups, the management of Oak Creek Stadium has decided on the attached ER diagram and instance tables for the development of a database to keep track of its operations.

  Project taskstask 1 analytic objectiveindividual groups are

project taskstask 1 analytic objectiveindividual groups are expected to come up with an analytic objective for which

  Compare and contrast the advantages of servlets of cgi

Describe the following CLI's and Database Gateways and Describe their architecture, components and challenges.

  List and explain the defined business rules

The Relational Data Model (RDM) which corresponds to the ERD in the format shown below. The RDMMUSTidentify all primary keys, alternate keys and foreign key constraints. Raw SQL Create Table script dumps from a modeling tool, or SQL Server WILL NO..

  Identify the candidate key

For each of the following sets of FDs, assuming those are the only dependencies that hold for R, do the following: (a) Identify the candidate key(s) for R. (b) Identify the best normal form that R satisfies (1NF, 2NF, 3NF, or BCNF). (c) If R is ..

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