Uwaga
Dostęp do tej strony wymaga autoryzacji. Może spróbować zalogować się lub zmienić katalogi.
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować zmienić katalogi.
Dotyczy:programu 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. Aby uzyskać więcej informacji, zobacz Otwórz plik śledzenia (SQL Server Profiler) lub Otwórz tabelę śledzenia (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.