module 8 part #3 Flashcards
A table can be deleted from the database by using the _____ TABLE command.
a. DROP
b. DELETE
c. MODIFY
d. ERASE
a. DROP
- The _____ command is used to restore the database to its previous condition.
a. ROWCOUNT
b. BACKUP
c. COMMIT
d. ROLLBACK
d. ROLLBACK
The _____ pseudo-column is used to select the next value from a sequence.
a. CURRVAL
b. NEXTVAL
c. NEXT
d. GET_NEXT
b. NEXTVAL
The _____ constraint assigns a value to an attribute when a new row is added to a table.
a. NOT NULL
b. CASCADE
c. UNIQUE
d. DEFAULT
d. DEFAULT
When a user issues the DELETE FROM tablename command without specifying a WHERE condition, _____.
a. no rows will be deleted
b. the first row will be deleted
c. the last row will be deleted
d. all rows will be deleted
d. all rows will be deleted
A(n) _____ cursor is automatically created in procedural SQL when the SQL statement returns only one value.
a. implicit
b. dynamic
c. explicit
d. static
a. implicit