多选题On your Oracle Database, you issue the following commands to create indexes: SQL CREATE INDEX oe.ord_customer_ix1 ON oe.orders (customer_id, sales_rep_id) INVISIBLE; SQL CREATE BITMAP INDEX oe.ord_customer_ix2 ON oe.orders (customer_id, sales_rep_id);

题目
多选题
On your Oracle Database, you issue the following commands to create indexes: SQL > CREATE INDEX oe.ord_customer_ix1 ON oe.orders (customer_id, sales_rep_id) INVISIBLE; SQL> CREATE BITMAP INDEX oe.ord_customer_ix2 ON oe.orders (customer_id, sales_rep_id); Which two statements are true?()
A

Only the ORD_CUSTOMER_IX1 index created.

B

Both the indexes are updated when a row is inserted, updated, or deleted in the ORDERS table.

C

Both the indexes are created: however, only ORD_CUSTOMERS_IX1 is used by the optimizer for queries on the ORDERS table.

D

The ORD_CUSTOMER_IX1 index is not used by the optimizer even when the OPTIMIZER_USE_INVISIBLE_INDEXES parameters is set to true.

E

Both the indexes are created and used by the optimizer for queries on the ORDERS table.

F

Both the indexes are created: however, only ORD_CUSTOMERS_IX2 is used by the optimizer for queries on the ORDERS table.

如果没有搜索结果或未解决您的问题,请直接 联系老师 获取答案。
相似问题和答案

第1题:

While designing your database, you have created the EMPLOYEES table as an index/x7forganized table (IOT). You want to create a bitmap index on the JOB_ID column to make queries faster. Which task must have been completed so that you are able to create the bitmap index?()

  • A、A primary key must have been created.
  • B、A mapping table must have been created.
  • C、An overflow tablespace must have been specified.
  • D、The PCTTHRESHOLD option must have been specified.

正确答案:B

第2题:

While designing your database, you have created the EMPLOYEES table as an index-organized table (IOT). You want to create a bitmap index on the JOB_ID column to make queries faster. Which task must have been completed so that you are able to create the bitmap index?() 

  • A、A primary key must have been created.
  • B、A mapping table must have been created.
  • C、An overflow tablespace must have been specified.
  • D、The PCTTHRESHOLD option must have been specified.

正确答案:B

第3题:

不属于数据定义功能的SQL语句是______。

A.CREATE TABLE

B.CREATE VIEW

C.UPDATE

D.CREATE INDEX


正确答案:C

第4题:

在SQL中,建立索引用()

  • A、CREATE SCHEMA命令
  • B、CREATE TABLE命令
  • C、CREATE VIEW命令
  • D、CREATE INDEX命令

正确答案:D

第5题:

SQL中使用()语句创建索引。

  • A、CREATE PROC
  • B、CREATE VIEW
  • C、CREATE TABLE
  • D、CREATE INDEX

正确答案:D

第6题:

At database startup, you discover that one of the disks containing an index tablespace has been lost due to a media failure. A backup of the lost index tablespace is not available. You have all the necessary scripts to recreate the indexes. You need to re-create the indexes in a new index tablespace. Which action must you perform before re-creating the indexes?()

  • A、 Start the database in OPEN mode, and create a new index tablespace.
  • B、 Start the database in OPEN mode, and drop the lost index tablespace from the database.
  • C、Start the database in MOUNT mode, create a new index tablespace, and drop the lost index tablespace from the database.
  • D、 Start the database in MOUNT mode, drop the lost index tablespace from the database, open the database, and create a new index tablespace.

正确答案:D

第7题:

Your company Web site includes a page that customers use to send feedback about the company and its products. You use a SQL Server 2005 database to store the comments in the Comments column of a table named Feedback. You need to implement full-text searching so that you can run reports on the comments. Which two actions should you perform? ()

  • A、 Create a nonclustered index on the Comments column. 
  • B、 Execute the USE Master Transact-SQL statement. 
  • C、 Create a full-text catalog. 
  • D、 Create a full-text index on the Comments column.

正确答案:C,D

第8题:

在SQL中,建立索引的命令是

A.CREATE TABLE

B.CREATE INDEX

C.CREATE VIEW

D.INDEX ON


正确答案:B
解析:SQL定义功能中,利用CREATEINDEX命令可以建立表的索引,选项A)定义一个新表,选项C)定义一个视图,选项D)可以为表建立索引,但不属于SQL语句。

第9题:

在SQL中,建立视图用的命令是()。

  • A、CREATE SCHEMA
  • B、CREATE TABLE
  • C、CREATE VIEW
  • D、CREATE INDEX

正确答案:C

第10题:

在SQL中,建立表用的命令是()。

  • A、CREATE SCHEMA
  • B、CREATE TABLE
  • C、REATE VIEW
  • D、CREATE INDEX

正确答案:B

更多相关问题