SQL Server Profiler - How to filter trace to only display events from one database?

前端 未结 5 1500
予麋鹿
予麋鹿 2020-12-12 09:09

How do I limit a SQL Server Profiler trace to a specific database? I can\'t see how to filter the trace to not see events for all databases on the instance I connect to.

5条回答
  •  长情又很酷
    2020-12-12 09:29

    Under Trace properties > Events Selection tab > select show all columns. Now under column filters, you should see the database name. Enter the database name for the Like section and you should see traces only for that database.

提交回复
热议问题