8. SQL Statements : SET : Session [No]Cache_Dynamic
 
Share this page                  
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 (see page [No]Cache_dynamic).