下列关于CREATE UNIQUE INDEX IDX1 ON T(C1,C2)语句作用的说法,正确的是()。
A、在C1和C2列上分别建立一个唯一聚集索引
B、在C1和C2列上分别建立一个唯一非聚集索引
C、在C1和C2列的组合上建立一个唯一聚集索引
D、在C1和C2列的组合上建立一个唯一非聚集索引
A、在C1和C2列上分别建立一个唯一聚集索引
B、在C1和C2列上分别建立一个唯一非聚集索引
C、在C1和C2列的组合上建立一个唯一聚集索引
D、在C1和C2列的组合上建立一个唯一非聚集索引
A、A.CREATE UNIQUE INDEX idx_partno ON parts(part_no) B、B.CREATE UNIQUE INDEX idx_partno ON parts(part_name ASC) C、C.CREATE UNIQUE INDEX idx_partno ON parts(part_name, part_no ASC) D、D.CREATE UNIQUE INDEX idx_partno ON parts(part_no, part_name ASC)
A、CREATE TABLE TESTTAB (ACTIVITYNO SMALLINT NOT NULL GENERATED ALWAYS AS IDENTITY (START WITH 10 INCREMENT BY 10), ACTKWD CHAR(6) NOT NULL, ACTDESC VARCHAR(20) NOT NULL, UNIQUE(ACTIVITYNO)) B、CREATE TABLE TESTTAB (ACTIVITYNO SMALLINT NOT NULL GENERATED ALWAYS AS IDENTITY (START WITH 1 INCREMENT BY 10), ACTKWD CHAR(6) NOT NULL, ACTDESC VARCHAR(20) NOT NULL, UNIQUE(ACTNO)) C、CREATE TABLE TESTTAB (ACTIVITYNO SMALLINT NOT NULL GENERATED BY DEFAULT AS IDENTITY (START WITH 10 INCREMENT BY 1), ACTKWD CHAR(6) NOT NULL, ACTDESC VARCHAR(20) NOT NULL, UNIQUE(ACTIVITYNO)) D、CREATE TABLE TESTTAB (ACTIVITYNO SMALLINT NOT NULL GENERATED BY DEFAULT AS IDENTITY (START WITH 10 INCREMENT BY 10), ACTKWD CHAR(6) NOT NULL, ACTDESC VARCHAR(20) NOT NULL, UNIQUE(ACTIVITYNO))
A、 CREATE UNIQUE INDEX xtab1 ON tab1 (c1) include (c2) B、 CREATE UNIQUE INDEX xtab1 ON tab1 (c1); CREATE INDEX xtab2 ON tab1 (c3) INCLUDE (c2) C、 CREATE UNIQUE INDEX xtab1 ON tab1 (c2, c1) D、 CREATE UNIQUE INDEX xtab1 ON tab1 (c2) INCLUDE (c1)
A、Isolate a file name unique to the custom image and create a custom rule-type of "File" which matches on the file. Select the "Required" option under the custom rule. B、Identify the MAC address unique to network cards installed in PCs with the custom image and create a custom rule-type of "MAC Address" which matches on the appropriate MAC address. C、Select the "Required" option under the custom rule Identify the IP address unique to the network cards installed in PCs with the custom image and create a custom rule-type of "IP Address" which matches on the appropriate IP address. Select the "Required" option under the custom rule. D、Isolate or create a unique Windows registry key for the custom image and create a custom rule- type of "Registry Setting" which matches on the name of the registry key.
A、CREATE UNIQUE INDEX xtab1 ON tab1 (c1); CREATE INDEX xtab2 ON tab1 (c2) INCLUDE (c3) B、CREATE UNIQUE INDEX xtab1 ON tab1 (c1) INCLUDE (c2, c3) C、CREATE UNIQUE INDEX xtab1 ON tab1 (c3, c2, c1) D、CREATE UNIQUE INDEX xtab1 ON tab1 (c2) INCLUDE (c1, c3)
A、The UNIQUE constraint does not permit a null value for the column. B、A UNIQUE index gets created for columns with PRIMARY KEY and UNIQUE constraints. C、The PRIMARY KEY and FOREIGN KEY constraints create a UNIQUE index. D、The NOT NULL constraint ensures that null values are not permitted for the column.
A、The UNIQUE constraint does not permit a null value for the column. B、A UNIQUE index gets created for columns with PRIMARY KEY and UNIQUE constraints. C、The PRIMARY KEY and FOREIGN KEY constraints create a UNIQUE index. D、The NOT NULL constraint ensures that null values are not permitted for the column.
A、The UNIQUE constraint does not permit a null value for the column. B、A UNIQUE index gets created for columns with PRIMARY KEY and UNIQUE constraints. C、The PRIMARY KEY and FOREIGN KEY constraints create a UNIQUE index. D、The NOT NULL constraint ensures that null values are not permitted for the column.