Question

In: Computer Science

Explain what is meant by referntial integrity.how does oracle maintain this in the baseoption table?give reference...

Explain what is meant by referntial integrity.how does oracle maintain this in the baseoption table?give reference to the syntax used to set it up and the actions oracle takes to maintain it.

Solutions

Expert Solution

Referential integrity constraint is that that depends on the parent and kid relationship.

During this one in all the columns have the first key constraint and one in all the column of another table have the foreign key constraint.

Therefore you cannot delete the column price that having the foreign key constraint till you ne'er delete its connected primary key column price from parent table.

If you tried to try to this it'll show you error associated with denotative integrity constraint. however if you continue to wish to delete price from kid table however ne'er wish to delete parent table column price then that purpose you'll be able to use 'on delete cascade' possibility.

A denotative integrity rule could be a rule outlined on a key   in one table that guarantees that the values therein key match the values during a key during a connected table.

Referential integrity additionally includes the principles that dictate what varieties of information manipulation are allowed on documented values and the way these actions have an effect on dependent values. The principles related to denotative integrity are:

• Restrict: Disallows the update or deletion of documented information.

• set to Null: once documented information is updated or deleted, all associated dependent information is ready to NULL.

• Set to Default: once documented information is updated or deleted, all associated dependent information is ready to a default price.

• Cascade: once documented information is updated, all associated dependent information is correspondingly updated. Once a documented row is deleted, all associated dependent rows ar deleted.

• No Action: Disallows the update or deletion of documented information. This differs from limit therein it's checked at the tip of the statement, or at the tip of the dealing if the constraint is postponed. Oracle uses No Action as its default action.

Oracle uses integrity constraints to stop invalid information entry into the bottom tables of the info. You’ll be able to outline integrity constraints to enforce the business rules you would like to go along with the data during a info.

If associate degree of the results of a DML statement execution violates an integrity constraint, then Oracle rolls back the statement and returns a blunder.


Related Solutions

What is the important of adolescent health? please explain in detail and give reference
What is the important of adolescent health? please explain in detail and give reference
Explain what is meant by deductive reasoning. Give an example of the Law of Detachment and...
Explain what is meant by deductive reasoning. Give an example of the Law of Detachment and the law of Syllogism.
1. Explain what is meant by a monopoly. Give an example as to how this type...
1. Explain what is meant by a monopoly. Give an example as to how this type of market structure exists. 2. Why do monopolies exist? What is meant by market power? 3. Explain how increasing returns to scale leads to a natural monopoly. 4. How does a monopolist maximize profits? 5. Discuss the welfare effects of monopoly.
1. (a) Explain what is meant by the terms countable set and uncountable set. Give a...
1. (a) Explain what is meant by the terms countable set and uncountable set. Give a concrete example of each. b) Show that if A and B are countably infinite then the set A x B is also countably infinite. c) Give an expression for the cardinality of set A U B when A and B are both finite sets. d) What can you say about the cardinality of the set A U B when A and B are infinite...
Q2. a) Explain what is meant by diffraction of waves, and give two examples of when...
Q2. a) Explain what is meant by diffraction of waves, and give two examples of when diffraction is useful. b) A loudspeaker has a diameter of 0.15 m. Using the principle of circular hole diffraction, calculate the angle at which the first minimum occurs when a. Sound of frequency 3400 Hz ( = 0.10 m) is emitted. b. Sound of frequency 10 kHz ( = 0.034 m) is emitted. c) Use these answers to give one reason why woofers (speakers...
Explain what is meant by a critical approach to accounting theory. What does this approach seek...
Explain what is meant by a critical approach to accounting theory. What does this approach seek to achieve? Illustrate your answers by describing theories that use such an approach. (1,000 words essay question)
Explain what is meant by ‘systematic risk’ and ‘specific risk’. Give examples. (9 marks
Explain what is meant by ‘systematic risk’ and ‘specific risk’. Give examples. (9 marks
Explain in detail what is meant by: "unenforceable contracts." Do not simply give me the textbook...
Explain in detail what is meant by: "unenforceable contracts." Do not simply give me the textbook definition. You must explain an unenforceable contract in detail.
In your own words, explain what is meant by an Array and ArrayList. Give two examples...
In your own words, explain what is meant by an Array and ArrayList. Give two examples that illustrate the main difference Note:Java programming language
explain what is meant by the following quality terms in project management and give relevant examples...
explain what is meant by the following quality terms in project management and give relevant examples a) Quality Assurance b) Quality Systems c) Quality Control d) Quality Plan e) TQM
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT