Click to Rate and Give Feedback
MSDN
MSDN Library
SQL Server
SQL Server 2008
Database Engine
Technical Reference
DBCC (Transact-SQL)
 DBCC FREESESSIONCACHE (Transact-SQL...
Community Content
In this section
Statistics Annotations (0)
Collapse All/Expand All Collapse All
Other versions are also available for the following:
SQL Server 2008 Books Online (November 2009)
DBCC FREESESSIONCACHE (Transact-SQL)

Flushes the distributed query connection cache used by distributed queries against an instance of Microsoft SQL Server.

Topic link icon Transact-SQL Syntax Conventions

DBCC FREESESSIONCACHE [ WITH NO_INFOMSGS ]
WITH NO_INFOMSGS

Suppresses all informational messages.

Requires membership in the sysadmin fixed server role.

The following example flushes the distributed query cache.

USE AdventureWorks;
GO
DBCC FREESESSIONCACHE WITH NO_INFOMSGS;
GO
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2010 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement
Page view tracker