Section 1 | ||||||||
1. | A sequence is a database object. True or False? | Mark for Review (1) Points | ||||||
| ||||||||
| ||||||||
| ||||||||
2. | NEXTVAL and CURRVAL are known as column aliases. True or False? | Mark for Review (1) Points | ||||||
| ||||||||
| ||||||||
| ||||||||
3. | Which keyword is used to modify a sequence? | Mark for Review (1) Points | ||||||
| ||||||||
| ||||||||
| ||||||||
| ||||||||
| ||||||||
4. | When you alter a sequence, a new increased MAXVALUE can be entered without changing the existing number order. True or False? | Mark for Review (1) Points | ||||||
| ||||||||
| ||||||||
| ||||||||
5. | Why do gaps in sequences occur? | Mark for Review (1) Points | ||||||
| ||||||||
| ||||||||
| ||||||||
| ||||||||
| ||||||||
6. | A sequence is a window through which data can be queried or changed. True or False? | Mark for Review (1) Points | ||||||
| ||||||||
| ||||||||
| ||||||||
7. | CURRVAL is a pseudocolumn used to refer to a sequence number that the current user has just generated by referencing NEXTVAL. True or False? | Mark for Review (1) Points | ||||||
| ||||||||
| ||||||||
| ||||||||
8. | Examine the code for creating this sequence: CREATE SEQUENCE track_id_seq What are the first three values that would be generated by the sequence?
| Mark for Review (1) Points | ||||||
| ||||||||
| ||||||||
| ||||||||
| ||||||||
| ||||||||
9. | In order to be able to generate primary key values that are not likely to contain gaps, which phrase should be included in the sequence creation statement? | Mark for Review (1) Points | ||||||
| ||||||||
| ||||||||
| ||||||||
| ||||||||
10. | Which keyword is used to remove a sequence? | Mark for Review (1) Points | ||||||
| ||||||||
| ||||||||
| ||||||||
| ||||||||
| ||||||||
11. | CURRVAL is a pseudocolumn used to extract successive sequence numbers from a specified sequence. True or False? | Mark for Review (1) Points | ||||||
| ||||||||
| ||||||||
| ||||||||
12. | Which is the correct syntax for specifying a maximum value in a sequence? | Mark for Review (1) Points | ||||||
| ||||||||
| ||||||||
| ||||||||
| ||||||||
|
( Vrei sa traduci ceva?Want to translate something? http://translate.google.ro/# )
Niciun comentariu:
Trimiteți un comentariu