Question

In: Computer Science

I need the definitions 1. Depiction of a referential IC 2.Violation of the ICs

I need the definitions
1. Depiction of a referential IC
2.Violation of the ICs

Solutions

Expert Solution

  1. Depiction of a referential IC :-

A referential integrity constraint is defined as part of an association between two entity types. The definition for a referential integrity constraint specifies the following information:

  • The principal end of the constraint. (An entity type whose entity key is referenced by the dependent end.)

  • The entity key of the principal end.

  • The dependent end of the constraint. (An entity type that has a property or properties that reference the entity key of the principal end.)

  • The referencing property or properties of the dependent end.

Example-

Here, if we delete record number 15 in a primary table, we need to be sure that there’s no foreign key in any related table with the value of 15. We should only be able to delete a primary key if there are no associated records. Otherwise, we would end up with an orphaned record.

So, referential integrity requires that, whenever a foreign key value is used it must reference a valid, existing primary key in the parent table.

2. Violation of the ICs:-

  • Integrity constraint violations occur when an insert, update, or delete statement violates a primary key, foreign key, check, or unique constraint or a unique index.
  • There are following three possible causes of violation of referential integrity constraint-

Cause-01: Insertion in a referencing relation:-

  • It is allowed to insert only those values in the referencing attribute which are already present in the value of the referenced attribute.
  • Inserting a value in the referencing attribute which is not present in the value of the referenced attribute violates the referential integrity constraint.

Cause-02: Deletion from a referenced relation:-

  • It is not allowed to delete a row from the referenced relation if the referencing attribute uses the value of the referenced attribute of that row.
  • Such a deletion violates the referential integrity constraint.

Cause-03: Updation in a referenced relation:-

  • It is not allowed to update a row of the referenced relation if the referencing attribute uses the value of the referenced attribute of that row.
  • Such an updation violates the referential integrity constraint.

Related Solutions

Question 2 In an integrated circuit (IC) production line, the length of ICs is known to...
Question 2 In an integrated circuit (IC) production line, the length of ICs is known to be normally distributed with a mean of 210 mm and a standard deviation of Q mm. (a) Calculate the value of the standard deviation, Q if it is known that 18.07% of the length of ICs will be at minimum, 230 mm. [4 marks] (b) Calculate the probability that the length of ICs will be at least 189 mm but not more than 210...
1 : An array a is defined to be self-referential if for i=0 to a.length-1, a[i]...
1 : An array a is defined to be self-referential if for i=0 to a.length-1, a[i] is the count of the number of times that the value i appears in the array. As the following table indicates, {1, 2, 1, 0} is a self-referential array. Here are some examples of arrays that are not self-referential: {2, 0, 0} is not a self-referential array. There are two 0s and no 1s. But unfortunately there is a 2 which contradicts a[2] =...
4. Consider the following three IC curves: PG1 = -100+50(IC) 1 – 2 (IC)12 PG2 =...
4. Consider the following three IC curves: PG1 = -100+50(IC) 1 – 2 (IC)12 PG2 = -150+60(IC) 2 – 2.5 (IC)22 PG3 = -80+40(IC) 3 – 1.8 (IC)32 Where ICs are in Rs/MWh and PGS are in MW. The total load at a certain hour of the day is 400 MW. Neglect transmission loss and develop a computer programme for optimum generation scheduling within and accuracy of + 0.05 MW
I need these terms and definitions answered, as much as possible is appreciated. Xenophobia: intense or...
I need these terms and definitions answered, as much as possible is appreciated. Xenophobia: intense or irrational dislike or fear of people from other countries. big data: extremely large data sets that may be analyzed computationally data measurements: bit , yottabyte Planned obsolescence : designing and producing products in order for them to be used up (obsolete) within a specific time period. Perceived obsolescence: an object may continue to be functional, but it is no longer perceived to be stylish...
I need to research definitions of the terms privacy, confidentiality and security of health information to...
I need to research definitions of the terms privacy, confidentiality and security of health information to include in your post. As a health care manager, what responsibilities do you have to uphold these for your patients? Provide an example to illustrate your role and responsibility of protecting patient information.
I need a regression analysis done on the following numbers. IC Price Income Temp Lag-temp 0.386...
I need a regression analysis done on the following numbers. IC Price Income Temp Lag-temp 0.386 0.27 78 41 56 0.374 0.282 79 56 63 0.393 0.277 81 63 68 0.425 0.28 80 68 69 0.406 0.272 76 69 65 0.344 0.262 78 65 61 0.327 0.275 82 61 47 0.288 0.267 79 47 32 0.269 0.265 76 32 24 0.256 0.277 79 24 28 0.286 0.282 82 28 26 0.298 0.27 85 26 32 0.329 0.272 86 32 40...
I need accurate answers, not guesses. Match the concepts with the correct definitions. CEEB score Deviation...
I need accurate answers, not guesses. Match the concepts with the correct definitions. CEEB score Deviation IQ Interpretative range Normal curve Z-score Scaled score Quartile T score Stanine Percentile rank Normal curve equivalent Standard score 1. Declares that the mean of a distribution of scores is 100 and the standard deviation is 15. 2. Scores with a mean of 10 and a standard deviation of 3; frequently used to report subtest or subscale scores. 3. A system that divides the...
I need a brief explanation of these ideas in accounting 2 (1 or 2 paragraphs) to...
I need a brief explanation of these ideas in accounting 2 (1 or 2 paragraphs) to show the main purpose of the class Accounting for corporations Long-term liabilities Investment Reporting the statement of cash flows Analysis of financial statement
I just need to understand Question 1 and 2. I just wanted to make sure I...
I just need to understand Question 1 and 2. I just wanted to make sure I did the revenue management right. Freedom Airlines recently started operations in the Southwest. The airline owns two airplanes, one based in Phoenix and the other in Denver. Each airplane has a coach section with 140 seats available. Each afternoon, the Phoenix based airplane flies to San Francisco with stopovers in Las Vegas and in San Diego. The Denver-based airplane also flies to San Francisco...
I just need to understand Question 1 and 2. I just wanted to make sure I...
I just need to understand Question 1 and 2. I just wanted to make sure I did the revenue management right. Freedom Airlines recently started operations in the Southwest. The airline owns two airplanes, one based in Phoenix and the other in Denver. Each airplane has a coach section with 140 seats available. Each afternoon, the Phoenix based airplane flies to San Francisco with stopovers in Las Vegas and in San Diego. The Denver-based airplane also flies to San Francisco...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT