Replay a T-SQL Script
06/06/2025 When you test possible solutions to a performance problem, use SQL Server Profiler to replay Transact-SQL scripts, and compare perform
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.
- On the
menu, point to
, and then select.
- 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
menu, select
, and connect to the server where you want to replay the
script.
- In the
dialog box, verify the settings, and then select.
Replay Traces
Profiler