SESSION [NO]CACHE_DYNAMIC
SET SESSION [NO]CACHE_DYNAMIC enables or disables the caching of query plans for cursors defined with dynamic SELECT statements. It overrides the server level setting defined by the cache_dynamic configuration parameter. To check the current setting, use SELECT DBMSINFO ('CACHE_DYNAMIC').
The SET SESSION [NO]CACHE_DYNAMIC setting persists for the duration of the session.
Last modified date: 08/29/2024