Foreign key constraints can only reference the primary key

Assignment Help Basic Computer Science
Reference no: EM131058054

In SQL, foreign key constraints can only reference the primary key attributes of the referenced relation, or other attributes declared to be a super key using the unique constraint. As a result, total participation constraints on a many-to-many relationship (or on the "one" side of a one-to-many relationship) cannot be enforced on the relations created from the relationship, using primary key, foreign key and not null constraints on the relations.

a. Explain why.

b. Explain how to enforce total participation constraints using complex check constraints or assertions (see Section 4.4.7). (Unfortunately, these features are not supported on any widely used database currently.)

Reference no: EM131058054

Questions Cloud

Use deriva gem to calculate the value : Format requirement: Please submit your assignment in PDF or WORD format online. The whole assignment must not exceed 10 pages in length, with 1.5 line spacing, 12-point Times New Roman font, 1-inch (i.e., 2.54-cm) side and top/bottom margins.
Interest on the declining balance : Your mortgage payments, which are made at the end of each year (one payment each year), include both principle and 9% interest on the declining balance. How large will your annual payments be? What amount will your normal annual payment be?
What makes it feel better or worse : Create a picture log of your family or friends that have habitual holding patterns. Use 10 pictures that look like they're from 10 different people. From the pictures guess what area of the body is creating the holding pattern, pain or discomfort ..
Cost of borrowing in cash and cost of borrowing : Calculate the difference between cost of borrowing in cash and cost of borrowing in gold (in dollar amount). Note in calculating the difference, deduct the cost of borrowing in gold from the cost of borrowing in cash. All rates are quoted in conti..
Foreign key constraints can only reference the primary key : Explain how to enforce total participation constraints using complex check constraints or assertions (see Section 4.4.7). (Unfortunately, these features are not supported on any widely used database currently.)
Evaluation of asset composition useful for capital structure : 1. Why is the evaluation of asset composition useful for capital structure analysis? 2. Is net income a reliable measure of cash available to meet fixed charges?
How to treat e as a weak entity set : Modify the E-R diagram of Figure 7.27b to introduce constraints that will guarantee that any instance of E, A, B,C, RA, RB, and RC that satisfies the constraints will correspond to an instance of A, B,C, and R. c. Modify the translation above to h..
Need a final paper for finance : Each student is required to conduct a detailed analysis of a company as part of a term paper. The analysis will look at issues like:Industry description; composition (domestic versus imports; large firms versus small firms); prospects.
Fantastic holding payout policy : Write an essay about Fantastic Holding's Payout policy - outline, analyse and interpret the company's payout policy over the review period. How is this payout policy compared (a) to that of its major competitors, and/or (b) to that of the industry..

Reviews

Write a Review

Basic Computer Science Questions & Answers

  How can cybersecurity concerns be differentiated

1. How can cybersecurity concerns be differentiated from issues in cybercrime?

  Explain what is meant by the term foreign key

Explain what is meant by the term foreign key.Explain what is meant by the term foreign key.

  Write piece of code uses a loop to compute and precending

The Fibonacci numbers are a sequence of integers in which the first two elements are 1, and each following element is the sum of the two preceding elements

  All pos- sible divisions of v into three substrings

Suppose Σ = {a, b, c} and v = v1, ..., vn, n = 3, v = abbc. Give all pos- sible divisions of v into three substrings, v = v1v2v3

  What is the difference between the if then elseif

What is the difference between the If Then ElseIF clause and a Nested If Block? Please provide examples of how you would use each.

  Determine the worth of this position.

Finish your report by stating if this job is eligible to be in the union. Explain why or why not.

  Determine throughput for file transfer form one host-another

Assume Host A wishes to send the large file to Host B. Suppose no other traffic in network, Determine the throughput for the file transfer?

  Reduces the program to an icon on the taskbar

Reduces the program to an icon on the taskbarReduces the program to an icon on the taskbar

  How to convert it into decimal number

if i cin 1F into array, how to convert it into decimal number 31? please only use the basic command such as if, for, which, or things like that because i didnt learn high-class commands

  Discuss five of top current it issues in higher education

Discuss Five of the top current IT issues in Higher Education

  Write specific formulas and functions

Consider the following scenario: As supervisor for a retail company, you supervise six people in your location. You are responsible for their payroll and commissions each week. Use the data provided to create a worksheet described below

  Generate the sql schema for an oracle database

Using the SQL schema generation feature of the modeling tool, generate the SQL schema for an Oracle database.

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