Create a Transact-SQL Script for Running a Trace (SQL Server Profiler)
Applies to: SQL Server Azure SQL Managed Instance
This topic describes how to create a Transact-SQL script from an existing trace file or table by using SQL Server Profiler.
To create a Transact-SQL script to run a trace
Open a trace file or table. For more information, see Open a Trace File (SQL Server Profiler) or Open a Trace Table (SQL Server Profiler).
On theFilemenu, point to Export, point to Script Trace Definition, and then click the version that corresponds to the server you want to trace.
In the Save As dialog box, enter a name for the script file, and then click Save.
See Also
SQL Server Profiler Templates and Permissions
SQL Server Profiler
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin