100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.6 TrustPilot
logo-home
Exam (elaborations)

Database Lab_Ch4_Quiz Questions with Solutions 2024

Rating
-
Sold
-
Pages
5
Grade
A+
Uploaded on
03-11-2024
Written in
2024/2025

Database Lab_Ch4_Quiz

Institution
GFACT
Course
GFACT









Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Institution
GFACT
Course
GFACT

Document information

Uploaded on
November 3, 2024
Number of pages
5
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers

Content preview

Database Lab_Ch4_Quiz

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 - answer ON DELETE CASCADE

Which of the following is a valid statement? - answer “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

Which of the following are used to enforce business rules? - answer constraints

Which of the following statements about a PRIMARY KEY is incorrect? - answer Each
data value must be unique. XX

In a ""one-to-many"" relationship, which constraint is usually
added to the ""many"" table? - answer FOREIGN KEY

The UNIQUE constraint differs from the PRIMARY KEY constraint
in what way? - answer The UNIQUE constraint allows NULL values.

How can constraints be added to a table? - answer as part of the ALTER TABLE
command XX

Which of the following statements about creating constraints
is incorrect? - answer

Which of the following is the standard abbreviation for the
constraint FOREIGN KEY - answer XX

Which of the following is the standard abbreviation for the constraint NOT NULL? –
answer nn

Which of the following is not a constraint type in Oracle 12c ? - answer REFERENCE

When a constraint is created at the ____ level with the CREATE TABLE command,
the constraint definition is simply included as part of the column definition. -
answerTABLE XX

, The NOT NULL constraint can only be created at the ____ level - answerCOLUMN

If a constraint applies to more than one column, the constraint must be created at the
____ level - answerTABLE

Which of the following statements about creating constraints is incorrect? -
answerWhen you create constraints at the column level, the constraint being created
applies to the column specified XX

If the ____ keyword is included when a constraint is created, a constraint name must be
provided by the user - answerconstraint

Constraints are always enforced at the ____ level. - answerTABLE XX

When a constraint is created at the table level, the constraint definition is provided ____
the column definition list - answerAFTER

Only one ____ constraint can exist for each table. - answerPRIMARY

A PRIMARY KEY constraint can be added to an existing table by using the ____ clause
of the ALTER TABLE command. - answerMODIFY XX

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

Which view will display the names of all the constraints that you own? -
answerUSER_CONSTRAINTS

What is the syntax for the default constraint name provided by the Oracle 12c server? -
answerSYS_Cn

Which keywords identify a column that, if it contains a value, it must match data
contained in another table - answerFOREIGN KEY

Which of the following types of constraints is used to enforce referential integrity? -
answerFOREIGN KEY

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

Which of the following statements about the FOREIGN KEY constraint is incorrect? -
answerThe constraint can reference any column in another table, even a column that
has not been designated as the primary key for the referenced table

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
julianah420 Phoenix University
View profile
Follow You need to be logged in order to follow users or courses
Sold
665
Member since
3 year
Number of followers
324
Documents
34337
Last sold
1 day ago
NURSING,TESTBANKS,ASSIGNMENT,AQA AND ALL REVISION MATERIALS

On this page, you find all documents, package deals, and flashcards offered by seller julianah420

4.3

151 reviews

5
102
4
20
3
9
2
5
1
15

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions