Replay a Transact-SQL Script (SQL Server Profiler)
Applies to:
SQL Server
Azure SQL Managed Instance
When you test possible solutions to a performance problem, use SQL Server Profiler to replay Transact-SQL scripts, and compare performance before and after your changes.
To replay a Transact-SQL script
On the File menu, point to Open, and then click Script File.
Select the Transact-SQL script file you want to open. Make sure that the Transact-SQL script contains events necessary for replay. For more information, see Replay Requirements.
On the Replay menu, click Start, and connect to the server where you want to replay the script.
In the Replay Configuration dialog box, verify the settings, and then click OK.
See Also
Povratne informacije
https://aka.ms/ContentUserFeedback.
Kmalu na voljo: V letu 2024 bomo ukinili storitev Težave v storitvi GitHub kot mehanizem za povratne informacije za vsebino in jo zamenjali z novim sistemom za povratne informacije. Za več informacij si oglejte:Pošlji in prikaži povratne informacije za