
CH8 of database
Authored by Rodah Alkaabi
Computers
University

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
11 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the action taken when a referential integrity constraint is violated by inserting, deleting, or modifying tuples?
Ignore the violation and proceed
Rollback the transaction
Modify the constraint
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which command is used to remove a base table that is no longer needed?
Drop table
Remove table
Delete table
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What are the options available for actions in Referential Triggered Action?
SET PRIMARY , SET FOREIGN , SET UNIQUE
SET INDEX , SET CHECK , SET CONSTRAINT
SET NULL , CASCADE , and SET DEFAULT
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In table creation with foreign key references, which actions can be specified like SET DEFAULT and SET NULL?
CREATE TABLE REF
CREATE TABLE KEY
CREATE TABLE EMP
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the ALTER TABLE command do?
Creates new table
Deletes the entire table
Modifies a base table by adding \ dropping columns , changing definitions , or adding \ dropping constraints
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which command is used to add a column to an existing table?
MODIFY TABLE EMPLOYEE ADD JOB VARCHAR(12);
ALTER TABLE EMPLOYEE ADD JOB VARCHAR(12);
ADD COLUMN EMPLOYEE JPB VARCHAR(12);
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
When dropping a column using ALTER TABLE, which behavior can be chosen between CASCADE and RESTRICT?
CASCADE drops constraints and views automatically
CASCADE ensures data loss
RESTRICT ensures no data loss
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?