单选题Evaluate the following SQL statements that are issued in the given order: What would be the status of the foreign key EMP_MGR_FK?()A  It would be automatically enabled and deferred.B  It would be automatically enabled and immediate.C  It would remai

题目
单选题
Evaluate the following SQL statements that are issued in the given order: What would be the status of the foreign key EMP_MGR_FK?()
A

 It would be automatically enabled and deferred.

B

 It would be automatically enabled and immediate.

C

 It would remain disabled and has to be enabled manually using the ALTER TABLE command.

D

 It would remain disabled and can be enabled only by dropping the foreign key constraint and re-creating it.

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

第1题:

A customer would like to share the processor resources automatically between logical partitions.  Which of the following would accomplish this requirement without user interaction? ()

  • A、 Dynamic LPARs
  • B、 On/Off Capacity on Demand
  • C、 Uncapped Micro-Partitioning
  • D、 Enterprise Workload Manager

正确答案:C

第2题:

Examine the SQL statement that creates ORDERS table: CREATE TABLE orders (SER_NO NUMBER UNIQUE, ORDER_ID NUMBER, ORDER_DATE DATE NOT NULL, STATUS VARCHAR2(10) CHECK (status IN ('CREDIT', 'CASH')), PROD_ID NUMBER REFERENCES PRODUCTS(PRODUCT_ID), ORD_TOTAL NUMBER, PRIMARY KEY (order_id, order_date)); For which columns would an index be automatically created when you execute the above SQL statement? ()

  • A、SER_NO
  • B、ORDER_ID
  • C、STATUS
  • D、PROD_ID
  • E、ORD_TOTAL
  • F、composite index on ORDER_ID and ORDER_DATE

正确答案:A,F

第3题:

Evaluate the following statements:What are the two consequences of the above statements?()

A. Partitions of PURCHASE_ORDER_ITEMS have system-generated names.

B. Both PURCHASE_ORDERS and PURCHASE_ORDER_ITEMS tables are created with four partitions each.

C. Partitions of the PURCHASE_ORDER_ITEMS table exist in the same tablespaces as the partitions of the PURCHASE_ORDERS table.

D. The PURCHASE_ORDER_ITEMS table inherits the partitioning key from the parent table by automatically duplicating the key columns.

E. Partition maintenance operations performed on the PURCHASE_ORDER_ITEMS table are automatically reflected in the PURCHASE_ORDERS table.


参考答案:B, C

第4题:

You have to shut down the database instance with the ABORT option because of a hardware failure. Which statement is true about the subsequent opening of the database?()

  • A、The database would open normally.
  • B、The database would not open, and it would stop at mount stage.
  • C、The database would open after automatically performing instance recovery.
  • D、The database would not open, and you have to perform database recovery to open it.

正确答案:C

第5题:

You work as a database administrator for Supportcenter.cn. Your database is functional. One of the disks containing a mirrored redo log member has bad sectors in it. You are unable to fix the damaged file. How does the loss of a redo log member affect the instance of the database that is currently running?()

  • A、The instance would normally abort.
  • B、The instance would not be affected.
  • C、The instance would be invalid, so would have to be aborted.
  • D、The instance would remain open, but the LGWR process would fail.
  • E、The instance would remain open and would automatically create the missing file

正确答案:B

第6题:

Evaluate the CREATE TABLE statement:   CREATE TABLE products   (product_id NUMBER (6)  CONSTRAINT prod_id_pk PRIMARY KEY,  product_name VARCHAR2 (15));   Which statement is true regarding the PROD_ID_PK constraint?()

  • A、 It would be created only if a unique index is manually created first.
  • B、 It would be created and would use an automatically created unique index.
  • C、 It would be created and would use an automatically created nonunique index.
  • D、 It would be created and remains in a disabled state because no index is specified in the command.

正确答案:B

第7题:

Which type of PL/SQL construct would you use to automatically correct the error resulting from a statement that was suspended due to a space/x7frelated problem? ()

  • A、function
  • B、package
  • C、procedure
  • D、database trigger
  • E、anonymous PL/SQL block

正确答案:D

第8题:

Examine the SQL statements that creates ORDERS table:For which columns would an index be automatically created when you execute the above SQL statement? ()

A. SER_NO

B. ORDER_ID

C. STATUS

D. PROD_ID

E. ORD_TOTAL

F. Composite index on ORDER_ID and ORDER_DATE


参考答案:A, F

第9题:

You defined the Recovery Manager (RMAN) retention policy to recovery window of 7 days by executing the following command:  RMAN> CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 7 DAYS;  When a backup is performed, what would be the status of this backup after seven days?()

  • A、 The backup would be marked as invalid.
  • B、 The backup would be marked as obsolete.
  • C、 The backup would be removed from the media.
  • D、 The backup would be removed from the RMAN repository.

正确答案:B

第10题:

Examine the SQL statements that creates ORDERS table: CREATE TABLE orders (SER_NO NUMBER UNIQUE, ORDER_ID NUMBER, ORDER_DATE DATE NOT NULL STATUS VARCHARD2(10) CHECK (status IN ('CREDIT','CASH')), PROD_ID_NUMBER REFERENCES PRODUCTS(PRODUCT_ID), ORD_TOTAL NUMBER, PRIMARY KEY (order id, order date)); For which columns would an index be automatically created when you execute the aboveSQL statement? ()

  • A、SER_NO
  • B、ORDER_ID
  • C、STATUS
  • D、PROD_ID
  • E、ORD_TOTAL
  • F、Composite index on ORDER_ID and ORDER_DATE

正确答案:A,F

更多相关问题