Oracle Database: Program with PL/SQL — Question 40

In which situation will cached results become invalid?

Answer options

Correct answer: C, D

Explanation

Cached results become invalid when the same parameter values are used to invoke the function again, as this could lead to outdated data being returned. Additionally, setting the RESULT_CACHE_MODE parameter to FORCE also invalidates cached results because it ensures that the function executes and fetches fresh data instead of relying on cached results. The other options do not cause cache invalidation directly.