| title | DBCC DROPRESULTSETCACHE (Transact-SQL) | |
|---|---|---|
| description | DBCC DROPRESULTSETCACHE removes all result set cache entries from an Azure Synapse Analytics database. | |
| author | mstehrani | |
| ms.author | emtehran | |
| ms.reviewer | wiassaf, randolphwest | |
| ms.date | 12/05/2022 | |
| ms.service | sql | |
| ms.subservice | data-warehouse | |
| ms.topic | reference | |
| dev_langs |
|
|
| monikerRange | = azure-sqldw-latest |
[!INCLUDE asa]
Removes all result set cache entries from an [!INCLUDEssazuresynapse-md] database.
:::image type="icon" source="../../includes/media/topic-link-icon.svg" border="false"::: Transact-SQL syntax conventions
DBCC DROPRESULTSETCACHE
[;]
Note
[!INCLUDEsynapse-analytics-od-unsupported-syntax]
Requires membership in the DB_OWNER fixed server role.
-
This command empties the result set cache for all queries.
-
Turning OFF the result set cache feature for a database also deletes all cached results.
-
Pausing a database enabled with result set caching won't delete the cached results.