Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Document preview thumbnail
Preview 3 out of 18 pages
Exam (elaborations)

CONSTRAINTS 2025 FINAL EXAM QUESTIONS AND CORRECT ANSWERS

Document preview thumbnail
Preview 3 out of 18 pages

CONSTRAINTS 2025 FINAL EXAM QUESTIONS AND CORRECT ANSWERS If a FOREIGN KEY constraint is displayed in the USER_CONSTRAINTS view, the constraint type will have the letter ____________________ displayed. - CORRECT ANSWERS R With the exception of the NOT NULL constraint, constraints can be added to a table using the ADD clause of the ALTER TABLE command. - CORRECT ANSWERS true The SYSDATE can be used as a condition in a CHECK constraint. - CORRECT ANSWERS Only one ____ constraint can exist for each table. - CORRECT ANSWERS false PRIMARY KEY The default name for a constraint is SYS Cn where n consists of a number that will make the name unique within the database. _________________________ - CORRECT ANSWERS TRUE A(n) ____________________ is a rule imposed on data stored in a database in order to ensure its integrity of the data. - CORRECT ANSWERS constraint f k Which of the following is the standard abbreviation for the constraint FOREIGN KEY? - CORRECT ANSWERS The CONSTRAINT keyword is required if the user is going to assign a name to a constraint. - CORRECT ANSWERS true The ____ constraint requires that a specific condition be met before a record can be added to a table. - CORRECT ANSWERS CHECK

Content preview

CONSTRAINTS 2025 FINAL EXAM QUESTIONS
AND CORRECT ANSWERS
If a FOREIGN KEY constraint is displayed in the USER_CONSTRAINTS view, the constraint type
will have the letter ____________________ displayed. - CORRECT ANSWERS R



With the exception of the NOT NULL constraint, constraints can be added to a table using the
ADD clause of the ALTER TABLE command. - CORRECT ANSWERS true



The SYSDATE can be used as a condition in a CHECK constraint. - CORRECT ANSWERS false



Only one ____ constraint can exist for each table. - CORRECT ANSWERS PRIMARY KEY



The default name for a constraint is SYS Cn where n consists of a number that will make the
name unique within the database. _________________________ - CORRECT
ANSWERS TRUE



A(n) ____________________ is a rule imposed on data stored in a database in order to ensure
its integrity of the data. - CORRECT ANSWERS constraint



Which of the following is the standard abbreviation for the constraint FOREIGN KEY? - CORRECT
ANSWERS fk



The CONSTRAINT keyword is required if the user is going to assign a name to a constraint. -
CORRECT ANSWERS true



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

,If a(n) FOREIGN KEY constraint has been created for a table, it means the data values in that
column must be unique and cannot contain NULL values. _________________________ -
CORRECT ANSWERS false



Which view will display the names of all the constraints that you own? - CORRECT
ANSWERS USER_CONSTRAINTS



Constraints are used to ensure the accuracy and integrity of the data contained in the database.
- CORRECT ANSWERS true



Which of the following types of constraints is used to enforce referential integrity? - CORRECT
ANSWERS FOREIGN KEY



A(n) ____________________ constraint requires that, if an entry is made into the column, the
data value must be unique. - CORRECT ANSWERS UNIQUE



Structure of the ORDERITEMS table




Based on the structure of the ORDERITEMS table, which of the following commands was most
likely used to create the table? - CORRECT ANSWERS CREATE TABLE orderitems

(order# NUMBER (4),

item# NUMBER(2),

isbn VARCHAR2(10),

qty NUMBER(3),

, PRIMARY KEY(order#, item#));



If the ____ keyword is included when a constraint is created, a constraint name must be
provided by the user. - CORRECT ANSWERS CONSTRAINT



The ALTER TABLE command with the MODIFY clause can be used to disable a constraint.
_________________________ - CORRECT ANSWERS FALSE



A NOT NULL constraint can be added to an existing table using the ALTER TABLE command with
the ____________________ clause. - CORRECT ANSWERS MODIFY



A NOT NULL constraint is a special FOREIGN KEY constraint. - CORRECT ANSWERS false



Where does the Oracle 12c server store information about objects in the database, including
information about constraints? - CORRECT ANSWERS in the data dictionary



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



Which of the following constraints cannot be added to an existing table with the ADD clause of
the ALTER TABLE command? - CORRECT ANSWERS NOT NULL



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



A(n) NOT NULL constraint is a special CHECK constraint with the condition of IS NOT NULL.
_________________________ - CORRECT ANSWERS true

Document information

Uploaded on
December 3, 2025
Number of pages
18
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers
$14.99

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

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.
VictorGrades
3.0
(2)
Sold
23
Followers
0
Items
1359
Last sold
1 day ago


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

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions