Question
The SQL instruction CREATE TABLE T1 (A1 CHAR(5) NOT NULL, A2 INTEGER NOT NULL, A3 CHAR(5), PRIMARY KEY (A1), FOREIGN KEY (A2) REFERENCES T2, ON
The SQL instruction
CREATE TABLE T1
(A1 CHAR(5) NOT NULL,
A2 INTEGER NOT NULL,
A3 CHAR(5),
PRIMARY KEY (A1),
FOREIGN KEY (A2) REFERENCES T2,
ON DELETE SET DEFAULT);
(a) It creates the table T1 in which any delete operation on either T1 or T2 violating the referential integrity constraint causes the insertion of default values in the corresponding attributes of the other table
(b) It creates the table T1 in which any delete operation on T2 violating the referential integrity constraint causes the insertion of default values in the corresponding T1 attributes
(c) none of the answers are correct
(d) It creates the table T1 in which any delete operation on T1 violating the referential integrity constraint causes the insertion of default values in the corresponding attributes of T2
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get StartedRecommended Textbook for
Concepts of Database Management
Authors: Philip J. Pratt, Mary Z. Last
8th edition
1285427106, 978-1285427102
Students also viewed these Databases questions
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
View Answer in SolutionInn App