module 8 part #3 Flashcards

1
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

A table can be deleted from the database by using the _____ TABLE command.

a. DROP
b. DELETE
c. MODIFY
d. ERASE

A

a. DROP

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q
  1. The _____ command is used to restore the database to its previous condition.
    a. ROWCOUNT
    b. BACKUP
    c. COMMIT
    d. ROLLBACK
A

d. ROLLBACK

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

The _____ pseudo-column is used to select the next value from a sequence.

a. CURRVAL
b. NEXTVAL
c. NEXT
d. GET_NEXT

A

b. NEXTVAL

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

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

A

d. DEFAULT

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

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

A

d. all rows will be deleted

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

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

a. implicit

How well did you know this?
1
Not at all
2
3
4
5
Perfectly