Extract a Script from a Trace (SQL Server Profiler)
Applies to: SQL Server Azure SQL Managed Instance
This topic describes how to extract Transact-SQL events from a trace file or table and save them as a Transact-SQL script file by using SQL Server Profiler.
To extract a Transact-SQL script from a trace file or table
Open a trace file or table that contains Transact-SQL events that you want to save to a Transact-SQL script file. For more information, see Open a Trace File (SQL Server Profiler) or Open a Trace Table (SQL Server Profiler).
On the File menu, point to Export, point to Extract SQL Server Events, and then click Extract Transact-SQL Events.
In the Save As dialog box, type a name for the Transact-SQL file, and click Save.
See Also
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