单项选择题
Given the following DDL for the PARTS table:CREATE TABLE parts (part_no INT(9) NOT NULL, part_name VARCHAR(24), part_remain INT(9));All part numbers entered will be different and all rows should be displayed in order of increasing part numbers whenever the table is queried. Which of the following create index statements will meet this criteria and require the least amount of storage for the index object?()
A.CREATE UNIQUE INDEX idx_partno ON parts(part_no)
B.CREATE UNIQUE INDEX idx_partno ON parts(part_name ASC)
C.CREATE UNIQUE INDEX idx_partno ON parts(part_name, part_no ASC)
D.CREATE UNIQUE INDEX idx_partno ON parts(part_no, part_name ASC)
点击查看答案
相关考题
-
单项选择题
Which of the following provides a logical grouping of database objects?()
A.View
B.Table
C.Schema
D.Buffer pool -
单项选择题
A programmer wants to generate values for a numeric ID column in their EXPENSE table. The ID column values need to be incremented by 1000 for each new expense report added to the EXPENSE table. Which DB2 object can be referenced by an INSERT statement to meet thisrequirement?()
A.Sequence
B.Table Function
C.Identity Column
D.INSTEAD OF Trigger -
单项选择题
When a client using the SERVER_ENCRYPT authentication type connects to a server using the SERVER authentication type, what happens?()
A.An error will occur.
B.Data passed between the client and the server is encrypted.
C.User IDs and passwords are passed to the server unencrypted.
D.User IDs and passwords are encrypted before they are passed to the server.
