How to save trace results to a table (SQL Profiler)
To save trace results to a table
- On the File menu, point to New, and then click Trace.
- In the Connect to SQL Server dialog box, select the server to which you want to connect and a connection method.
- In the Trace name box, type a name for the trace, and then click Save to table.
- In the Destination Table dialog box, do the following:
- In the Database list, select the destination database.
- In the Table list, type or select the table name for the trace results.
- In the Database list, select the destination database.
- Select the Set maximum rows (in thousands) check box to specify the maximum number of rows to save.