Escrito por estudiantes que aprobaron Inmediatamente disponible después del pago Leer en línea o como PDF ¿Documento equivocado? Cámbialo gratis 4,6 TrustPilot
logo-home
Document preview thumbnail
Vista previa 3 fuera de 18 páginas
Examen

CONSTRAINTS 2025 FINAL EXAM QUESTIONS AND CORRECT ANSWERS

Document preview thumbnail
Vista previa 3 fuera de 18 páginas

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

Vista previa del contenido

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

Información del documento

Subido en
3 de diciembre de 2025
Número de páginas
18
Escrito en
2025/2026
Tipo
Examen
Contiene
Preguntas y respuestas
$14.99

¿Documento equivocado? Cámbialo gratis Dentro de los 14 días posteriores a la compra y antes de descargarlo, puedes elegir otro documento. Puedes gastar el importe de nuevo.
Escrito por estudiantes que aprobaron
Inmediatamente disponible después del pago
Leer en línea o como PDF

Seller avatar
Los indicadores de reputación están sujetos a la cantidad de artículos vendidos por una tarifa y las reseñas que ha recibido por esos documentos. Hay tres niveles: Bronce, Plata y Oro. Cuanto mayor reputación, más podrás confiar en la calidad del trabajo del vendedor.
VictorGrades
3.0
(2)
Vendido
23
Seguidores
0
Artículos
1359
Última venta
1 día hace


Por qué los estudiantes eligen Stuvia

Creado por compañeros estudiantes, verificado por reseñas

Calidad en la que puedes confiar: escrito por estudiantes que aprobaron y evaluado por otros que han usado estos resúmenes.

¿No estás satisfecho? Elige otro documento

¡No te preocupes! Puedes elegir directamente otro documento que se ajuste mejor a lo que buscas.

Paga como quieras, empieza a estudiar al instante

Sin suscripción, sin compromisos. Paga como estés acostumbrado con tarjeta de crédito y descarga tu documento PDF inmediatamente.

Student with book image

“Comprado, descargado y aprobado. Así de fácil puede ser.”

Alisha Student

Preguntas frecuentes