This preview shows pages 1–3. Sign up to view the full content.
This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: B e I T C e r t i f i e d . c o m Total Question No : No :s: 161 Question No : 1. 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. Answer : F Question No : 2. The EMP_DEPT block in your EMPLOYEE form is based on a view in an Oracle8 database. The items in this block have the Update Allowed property set to Yes. Which database feature makes it possible to permanently modify the underlying view? A. REF cursor. B. Instead Of trigger. C. Stored procedure that returns object values. D. The underlying view cannot be modified because DML on a view is not supported. Answer : B Explanation: When the Update Allowed property is set to YES and the block is based on view on the database server, Instead Of Triggers should be used to update the underlying tables that the view depends on. This trigger will fire whenever the user updates a value through the view. REF Cursors and Stored Procedures that returns object values will not update the values in the underlying view in the server. Views can not be modified using DML operation unless instead of trigger exists. Question No : 3. You are developing the Payroll application that contains the SALARY and COMMISSION forms. When a user invoked the COMMISSION form from the SALARY form, the SAL value B e I T C e r t i f i e d . c o m should be passed to the COMMISSION form. In which data form and at what time should you define the parameter to accept the value....
View Full Document
This note was uploaded on 03/29/2012 for the course ORACLE 11 taught by Professor Fa during the Spring '12 term at Christian Brothers.
- Spring '12