I am working with extended events in SQL Server 2008 to perform some monitoring. I am mostly interested in the following events:
- sqlserver.sp_statement_completed
- sqlserver.sp_statement_starting
- sqlserver.sql_statement_completed
- sqlserver.sql_statement_starting
I would like to know if it is possible to filter out these extended events according to the table(s) they affect. I have not seen any predicate that would help me perform such filtering. Since a single stored procedure might actually affect multiple tables, I am not even sure how they would do it, but someone out there might have thought of some neat trick.
Thanks in advance!