Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 1.27 KB

File metadata and controls

31 lines (22 loc) · 1.27 KB
title Start a Trace Automatically After Connecting to a Server
titleSuffix SQL Server Profiler
description Learn how to start tracing event data automatically in SQL Server Profiler after connecting to an instance of SQL Server.
author rwestMSFT
ms.author randolphwest
ms.date 06/05/2025
ms.service sql
ms.subservice profiler
ms.topic how-to
ms.collection
data-tools

Start a trace automatically after connecting to a server (SQL Server Profiler)

[!INCLUDE SQL Server Azure SQL Managed Instance]

This article describes how to start traces automatically after connecting to an instance of [!INCLUDE ssNoVersion] by using [!INCLUDE ssSqlProfiler].

Start a trace automatically after connecting to a server with SQL Server Profiler

  1. On the Tools menu, select Options.

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

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

Related content