SQL Reference Guide > SQL Reference Guide > SQL Statements > SET > Session [No]Cache_Dynamic
Was this helpful?
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.
See also SET [NO]CACHE_DYNAMIC (on page [No]Cache_dynamic).
Last modified date: 01/30/2023