可学答题网 > 问答 > 1Z0-053题库
目录: 标题| 题干| 答案| 搜索| 相关
问题

Evaluate the following&ensp


Evaluate the following function code:   CREATE FUNCTION get_dept_avg(dept_id NUMBER) RETURN NUMBER RESULT_CACHE RELIES_ON (EMPLOYEES) IS avgsal NUMBER(6); BEGIN  SELECT AVG(SALARY)INTO avgsal FROM EMPLOYEES   WHERE DEPARTMENT_ID = dept_id; RETURN avgsal; END get_dept_avg;   Which statement is true regarding the above function?()

  • A The cached result becomes invalid when any structural change is done to the EMPLOYEES table. 
  • B If the function execution results in an unhandled exception,the exception result is also stored in the cache.
  • C Each time the function is invoked in a different session,the current result in the result cache gets overwritten.
  • D If the function is invoked with a different parameter value,the existing result in the result cache gets overwritten by the latest value.
参考答案
参考解析:
分类:1Z0-053题库
相关推荐

1、Evaluate the following&ensp

Evaluate the following statement:  Which statement is true regarding the evaluation of rows re...

2、Examine the following 

Examine the following command:  ALTER DISKGROUP data MOUNT FORCE;  In which scenario can&ensp...

3、Evaluate the following&ensp

Evaluate the following SQL statements that are issued in the given order:What would be the&ens...

4、Evaluate the following&ensp

Evaluate the following block of code:  BEGIN DBMS_NETWORK_ACL_ADMIN.CREATE_ACL ( acl => ’mycompan...

5、The following are the&

The following are the details of your database:Instance name:test Host name : tech1.us.oracle.com&ensp...

6、Evaluate the following&ensp

Evaluate the following SQL statements that are issued in the given order: What would be t...