Oracle 11G OCP 1Z0-053 54
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.
答案:(A)
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/17013648/viewspace-1250888/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Oracle 11G OCP 1Z0-052 54Oracle
- Oracle OCP(54):IMPOracle
- Oracle OCP(54):EXPOracle
- Oracle 11G OCP 1Z0-053 600Oracle
- Oracle 11G OCP 1Z0-053 581Oracle
- Oracle 11G OCP 1Z0-053 582Oracle
- Oracle 11G OCP 1Z0-053 583Oracle
- Oracle 11G OCP 1Z0-053 584Oracle
- Oracle 11G OCP 1Z0-053 585Oracle
- Oracle 11G OCP 1Z0-053 586Oracle
- Oracle 11G OCP 1Z0-053 587Oracle
- Oracle 11G OCP 1Z0-053 588Oracle
- Oracle 11G OCP 1Z0-053 589Oracle
- Oracle 11G OCP 1Z0-053 590Oracle
- Oracle 11G OCP 1Z0-053 591Oracle
- Oracle 11G OCP 1Z0-053 592Oracle
- Oracle 11G OCP 1Z0-053 593Oracle
- Oracle 11G OCP 1Z0-053 594Oracle
- Oracle 11G OCP 1Z0-053 595Oracle
- Oracle 11G OCP 1Z0-053 596Oracle
- Oracle 11G OCP 1Z0-053 597Oracle
- Oracle 11G OCP 1Z0-053 598Oracle
- Oracle 11G OCP 1Z0-053 563Oracle
- Oracle 11G OCP 1Z0-053 564Oracle
- Oracle 11G OCP 1Z0-053 565Oracle
- Oracle 11G OCP 1Z0-053 566Oracle
- Oracle 11G OCP 1Z0-053 567Oracle
- Oracle 11G OCP 1Z0-053 568Oracle
- Oracle 11G OCP 1Z0-053 569Oracle
- Oracle 11G OCP 1Z0-053 570Oracle
- Oracle 11G OCP 1Z0-053 571Oracle
- Oracle 11G OCP 1Z0-053 572Oracle
- Oracle 11G OCP 1Z0-053 573Oracle
- Oracle 11G OCP 1Z0-053 574Oracle
- Oracle 11G OCP 1Z0-053 575Oracle
- Oracle 11G OCP 1Z0-053 576Oracle
- Oracle 11G OCP 1Z0-053 578Oracle
- Oracle 11G OCP 1Z0-053 579Oracle