How to filter SQL Server 2008 Profiler Output for a single database?

usr picture usr · Jul 3, 2009 · Viewed 27.2k times · Source

SQL Server 2008 Profiler always profiles all databases. I want to restrict profiling or output to a single database. How can that be done most easily?

Answer

gbn picture gbn · Jul 3, 2009

There is a column output/filter by database name or Id. You have to choose "Show all columns" when setting the trace up.