Database Lab_Ch4_Quiz updated version /answered
1. Which of the following keywords must have been included during
the cre-ation of a FOREIGN KEY constraint to allow a row from the
parent table to be
deleted, even if it is referenced by a row in the child
table: ON DELETE CASCADE
2.
Which of the following is a valid statement?:
"Constraints are rules used to enforce
business
rules,
practices,
and
policies."
Constraints
prevent
errors
by
not
allowing
data
to
be
added
to
tables if
the
data
violates
specific
rules.
Constraints
ensure
the
accuracy
and
integrity
of
data.
all
of
the
above
3. Which of the following are used to enforce business rules?:
constraints
4.
Which of the following statements about a PRIMARY KEY is incorrect?:
Each data
value
must
be
unique.
XX
5. In a ""one-to-many"" relationship, which constraint is
usually
added to the ""many"" table?: FOREIGN KEY
6. The UNIQUE constraint differs from the PRIMARY KEY
constraint
in
what
way?:
The UNIQUE constraint allows NULL values.
7.
How
can
constraints
be
added
to
a
table?:
as
part
of
the
ALTER
TABLE
command
XX
8. Which of the following statements about creating
constraints is incorrect?:
9. Which of the following is the standard abbreviation
for the constraint FOREIGN KEY:
_FK XX
10. Which of the following is the standard abbreviation for the
constraint NOT NULL?: nn
11. Which of the following is not a constraint type in Oracle 12c ?:
REFERENCE
12. When a constraint is created
at the level with the CREATE TABLE