Filters
Question type

Study Flashcards

Which of the following constraints cannot be added to an existing table with the ADD clause of the ALTER TABLE command?


A) CHECK
B) UNIQUE
C) NOT NULL
D) none of the above

Correct Answer

verifed

verified

Which of the following keywords must have been included during the creation 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?


A) CASCADE
B) AUTO REMOVE
C) ON DELETE CASCADE
D) none of the above

Correct Answer

verifed

verified

Only one ____ constraint can exist for each table.


A) PRIMARY KEY
B) FOREIGN KEY
C) UNIQUE
D) CHECK

Correct Answer

verifed

verified

A PRIMARY KEY that consists of more than one column is called a(n) ____ key.


A) multiple
B) composite
C) comprehensive
D) coherent

Correct Answer

verifed

verified

Which clause will allow you to disable a constraint?


A) MODIFY
B) DROP
C) DISABLE
D) STOP

Correct Answer

verifed

verified

When used with a FOREIGN KEY, the keyword REFERENCES refers to what?


A) reference integrity
B) relational integrity
C) referential integrity
D) relational constraint

Correct Answer

verifed

verified

Constraints are always enforced at the ____ level.


A) table
B) column
C) row
D) database

Correct Answer

verifed

verified

A NOT NULL constraint will display the search condition of ____________________ in the USER_CONSTRAINTS view.

Correct Answer

verifed

verified

The ____ constraint requires that a specific condition be met before a record can be added to a table.


A) UNIQUE
B) REFERENCE
C) CONDITION
D) CHECK

Correct Answer

verifed

verified

The purpose of the ____ constraint is to ensure that two records do not have the same value stored in the same column. However, it can contain NULL values.


A) PRIMARY KEY
B) UNIQUE
C) CHECK
D) FOREIGN KEY

Correct Answer

verifed

verified

Which of the following are used to enforce business rules?


A) syntax
B) functions
C) constraints
D) enforcers

Correct Answer

verifed

verified

A(n) ____________________ constraint is a special CHECK constraint with the condition of IS NOT NULL.

Correct Answer

verifed

verified

The ____ constraint prevents the user from adding a NULL value in the specified column.


A) IS NULL
B) NOT NULL
C) NULL
D) NULL KEY

Correct Answer

verifed

verified

A FOREIGN KEY constraint can only reference a column in another table that has been assigned a(n) ____ constraint.


A) NOT NULL
B) UNIQUE
C) CHECK
D) none of the above

Correct Answer

verifed

verified

Which of the following is not a constraint type in Oracle11g?


A) CHECK
B) UNIQUE
C) NOT NULL
D) REFERENCE

Correct Answer

verifed

verified

If a data value violates a(n)  constraint ‾\underline { \text { constraint } } , the entire row is prevented from being added to the table. _________________________

Correct Answer

verifed

verified

A maximum of ____________________ PRIMARY KEY constraints can exist for each database table.

Correct Answer

verifed

verified

The ____________________ clause of the ALTER TABLE command is used to add a PRIMARY KEY constraint to an existing table.

Correct Answer

verifed

verified

A foreign key constraint can only be created at the column level.

Correct Answer

verifed

verified

A constraint is created at the ____________________ level if it is included as part of the column definition.

Correct Answer

verifed

verified

Showing 81 - 100 of 132

Related Exams

Show Answer