Skip to content

Latest commit

 

History

History
33 lines (23 loc) · 1.33 KB

start-a-trace-automatically-after-connecting-to-a-server-sql-server-profiler.md

File metadata and controls

33 lines (23 loc) · 1.33 KB
title titleSuffix description author ms.author ms.date ms.service ms.subservice ms.topic ms.collection
Start a Trace Automatically After Connecting to a Server
SQL Server Profiler
Learn how to start tracing event data automatically in SQL Server Profiler after connecting to an instance of SQL Server.
rwestMSFT
randolphwest
03/14/2017
sql
profiler
how-to
data-tools

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

[!INCLUDE SQL Server Azure SQL Managed Instance]

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