SQL Server Profiler – Filter Trace for Inserts, Updates, and Deletes

profilersql serversql-server-2008-r2

How do I limit a SQL Server Profiler to trace only inserts, updates and deletes to a specific database?

Best Answer

You can narrow down the list by specifying DatabaseName or DatabaseID in Column Filters:

DBName DBID

Note however that you need to check the box "show all columns" first.

As for inserts, updates and deletes you can filter by text column at the same place:

enter image description here