Sql-server – SQL Server Profiler – How to filter trace to only display events from one database

profilersql-serversql-server-profiler

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.

Best Solution

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.