| title | Set Trace Definition Defaults | |
|---|---|---|
| titleSuffix | SQL Server Profiler | |
| description | Discover how to use SQL Server Profiler to set up the templates that SQL Server and Analysis Services use by default for each provider or server. | |
| 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]
The trace definition default is the default trace template that is used for each provider or server. You can set default trace templates for [!INCLUDE ssNoVersion] or for [!INCLUDE ssASnoversion].
-
On the File menu, select Templates, and then select Edit Template.
-
In the Trace Template Properties dialog box, on the General tab, select a server type from the Select server type list.
-
In the Select template name list, select the name of the template that you want to use as the trace definition default.
-
Select Use as a default template for selected server type.
-
If necessary, select the Events Selection tab to modify the template.
-
Select Save.