单选题You want to implement a master-detail relation between data blocks based on object tables. How would you do this? ()A Create the relation manually and coordinate the blocks using triggers. B Base the relation on a REF pointer using the Data Block Wizar

题目
单选题
You want to implement a master-detail relation between data blocks based on object tables. How would you do this? ()
A

Create the relation manually and coordinate the blocks using triggers. 

B

Base the relation on a REF pointer using the Data Block Wizard. 

C

Base the relation on a foreign key using the Data Block Wizard. 

D

This task is not possible because master-detail relations can be implemented only for blocks based on relation tables.

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

第1题:

You create a data block based on a relation table containing a REF column. You select the REF column for your form module. Which statement about the REF column is true?()

  • A、It is created as a nondisplay item. 
  • B、The Lock Record property is set to Yes. 
  • C、It cannot be referenced in item level triggers. 
  • D、It is placed on the canvas with the highest sequence number.

正确答案:A

第2题:

While working on the database, you receive the following error:        01578: ORACLE data block corrupted (file# 6, block # 54)        ORA-01110 : data file 6: ’u01/oracle/oradata/data1.dbf’   You decide to recover the corrupted data block by using the Block Media Recovery feature. Which option is NOT a disadvantage of using block media recovery?()

  • A、 Block Media Recovery must be used with RMAN.
  • B、 You must perform complete recovery of individual blocks.
  • C、 You must have a full RMAN backup, not an incremental backup.
  • D、 You must use the DBVERIFY utility before using the Block Media Recovery feature.

正确答案:D

第3题:

You want to create a pie-style chart using the Chart Wizard. What must be you do to determine the fields available for use in this chart? ()

  • A、Select the block that contains the data to appear in the pie chart. 
  • B、Select the table that contains the data to appear in the pie chart. 
  • C、Select the view that contains the data to appear in the pie chart. 
  • D、Nothing. The wizard will automatically create the pie chart based on the highlighted data.

正确答案:A

第4题:

You need to allow the user to toggle between automatic query and no automatic query using a pop-up menu. Which built-in would you use in the menu item command to obtain the relationship name? ()

  • A、GET_RELATION_PROPERTY 
  • B、SET_RELATION_PROPERTY 
  • C、GET_BLOCK_PROPERTY 
  • D、GET_FORM_PROPERTY

正确答案:C

第5题:

The accounting manager wants you to create a form that when queried will display a calculated total of year-to-date actual expenditures for the fund code entered. The value needed to generate this summary data are stored in multiple tables. How would you define the data source for this data block without having the DBA create a database object? ()

  • A、Choose Tools -> Data Block Wizard, select View as the data source type, and base the block on the columns from the bales. 
  • B、Choose Tools -> Data Block Wizard, select Table as the data source type, and base the block on the columns from the tables. 
  • C、Select the Data Blocks node in the Object Navigator and click the Create button. Choose to build the data block manually and alter the Query Data Source Columns and Query Data Source Arguments properties to enter the SELECT statement. 
  • D、Select the Data Blocks node in the Object Navigator and click the Create button. Choose to build the data block manually, alter the Query Data Source Type property to 'Table', and enter the SELECT statement in the Query Data Source Name property. 
  • E、Choose Tools -> Data Block Wizard, select Stored Procedure as the data source type, and base the block on the columns the tables. 
  • F、Select the Data Blocks node in the Object Navigator and click the Create button. Choose to build the data block manually. Alter the Query Data Source Type to 'FROM' clause query', and enter the SELECT statement in the Query Data Source Name property.

正确答案:F

第6题:

You are creating the DEPT_SAL data block from the PAYHIST form. Users should be able to enter a valid department ID number, which will then display the employee salary information for that department. This data block could potentially retrieve a large number of records. Since users will probably only view a small number of these records, only 10 records should be fetched at one time. How would you create the data block?()

  • A、Select The Data Blocks node in the Object Navigator and click the Create button. Choose to build the data block manually, enter the procedure name in the Query Data Source Columns property, and the procedure code in the Query Data Source Arguments property. 
  • B、Choose Tools -> Data Block Wizard, select Table as the data source type, and base the block on the columns from the tables. 
  • C、Choose Tools -> Data Block Wizard, select, View as the data source type, and base the block on the columns from the tables. 
  • D、Select the Data Blocks node in the Object Navigator and click the Create button. Choose to build the data block manually, alter the Query Data Source Type property to 'FROM clause query', and enter the SELECT statement in the Query Data Source Name property. 
  • E、Select the Data Block node in the Object Navigator and click the Create button. Alter the Query Data Source Type, Query Data Source Name, Query Data Sources Columns, and Query Data Source Arguments properties to create a stored procedure that uses a red cursor.

正确答案:E

第7题:

You create a master-detail form. The users need to be able to exit the form quickly, adhering to default transaction processing, regardless of the cursor location. You believe you can achieve this using a Key-Exit trigger. What do you need to do to implement this request? ()

  • A、Define a Key-Exit trigger for all the blocks in the form.  
  • B、In the Object Navigator, highlight all the items and define a Key-Exit trigger. 
  • C、Define a Key-Exit trigger on the primary key item in the master block.
  • D、No additional key-trigger definition is necessary.

正确答案:D

第8题:

You want to check the EMP table in the user, Scott’s schema for block corruption. You also want to fix the corrupted blocks, if any. How will you accomplish the required task?()

  • A、by using the ANALYZE utility
  • B、by using the DBVERIFY utility
  • C、by using the DB_BLOCK_CHECKING parameter
  • D、by using the DBMS_REPAIR package

正确答案:D

第9题:

he data blocks in your form module are based on object tables. How would you create a master-detail relationship between two of these blocks?()

  • A、Use the Data Block Wizard and base the relation on a REF pointer. 
  • B、In the Object Navigator, select the Relation node under the master block and click the Create icon. Build the relation manually and coordinate the blocks using triggers.
  • C、Use the Data Block Wizard, and base the relation on the primary key-foreign key relationship in the database. 
  • D、This task is not possible because master-detail relations can be implemented only for blocks based on relational tables. 

正确答案:A

第10题:

You have the following requirements in relation to the detection of block corruption for your database instance:   Check for logical self-consistency of data blocks when modified in memory.  Checksums are calculated before and after the block change.  Checks are performed for the lost writes to the physical standby database.   Which method would help you perform the above checks automatically?()

  • A、 Set the DB_SECUREFILE parameter to PERMITTED
  • B、 Set the DB_ULTRA_SAFE parameter to DATA_ONLY
  • C、 Set the DB_LOCK_CHECKSUM parameter to TYPICAL
  • D、 Set the DB_LOST_WRITE_PROTECT parameter to TYPICAL

正确答案:B

更多相关问题