Skip to content

Latest commit

 

History

History
42 lines (35 loc) · 1.61 KB

File metadata and controls

42 lines (35 loc) · 1.61 KB
title Start a Trace Automatically after Connecting to a Server (SQL Server Profiler) | Microsoft Docs
ms.custom
ms.date 03/14/2017
ms.prod sql-non-specified
ms.prod_service sql-tools
ms.service
ms.component sql-server-profiler
ms.reviewer
ms.suite sql
ms.technology
database-engine
ms.tgt_pltfrm
ms.topic article
helpviewer_keywords
automatic trace start
traces [SQL Server], starting
starting trace automatically
ms.assetid d74b848d-e796-49af-a8c5-dd69230f3a78
caps.latest.revision 21
author stevestein
ms.author sstein
manager craigg
ms.workload Inactive

Start a Trace Automatically after Connecting to a Server (SQL Server Profiler)

[!INCLUDEappliesto-ss-xxxx-xxxx-xxx-md] This topic describes how to start traces automatically after connecting to an instance of [!INCLUDEssNoVersion] by using [!INCLUDEssSqlProfiler].

To start a trace automatically after connecting to a server with SQL Server Profiler

  1. On the Tools menu, click Options.

  2. Select the Start tracing immediately after making a connection check box.

Note

If Start tracing immediately after making connectionis selected, the Trace Propertiesdialog box fails to appear and the trace begins instead. To edit trace properties, you must first turn this setting off.

See Also

SQL Server Profiler