| title | Clear a Trace Window | |
|---|---|---|
| titleSuffix | SQL Server Profiler | |
| description | Find out how to clear the trace window that captures event data in SQL Server Profiler without clearing any trace files or tables. | |
| author | rwestMSFT | |
| ms.author | randolphwest | |
| ms.date | 06/05/2025 | |
| ms.service | sql | |
| ms.subservice | profiler | |
| ms.topic | how-to | |
| ms.collection |
|
[!INCLUDE SQL Server Azure SQL Managed Instance]
This article describes how to clear the trace window for a trace that is running by using [!INCLUDE ssSqlProfiler].
-
Select the trace window you want to clear.
-
On the Edit menu, select Clear Trace Window.
The contents of the trace window are removed. If the trace file or table has been saved, the contents of the file or table remains unchanged.