READ Free Dumps For Oracle- 1z0-146
Question ID 2799 | The result cache is enabled for the database instance. Examine the following code for a PL/SQL function: CREATE OR REPLACE FUNCTION get_hire_date (emp_id NUMBER) RETURN VARCHAR RESULT_CACHE RELIES_ON (HR.EMPLOYEES) IS date _hired DATE; BEGIN |
Option A | A. Set the RESULT_CACHE_MODE parameter to FORCE. |
Option B | B. Increase the value for the RESULT_CACHE_MAX_SIZE parameter. |
Option C | C. Add a format mask parameter, such as RETURN TO_CHAR(date_hired, fmt) to GET_HIRE_DATE. |
Option D | D. Change the return type of GET_HIRE_DATE to DATE and have each session invoke the TO_CHAR function. |
Correct Answer | C,D |
Question ID 2800 | You designed a CardValidation.java Java source file. You also have the corresponding CardValidation.class file. As part of invoking a Java class method, you executed this command at the command prompt: |
Option A | A. It loads the Java code into the database. |
Option B | B. It publishes Java methods in CardValidation.java. |
Option C | C. It loads the metadata related to the Java class file into the database. |
Option D | D. It loads the Java class file into the Java pool in the database instance. |
Correct Answer | A |