I want to capture Select/Insert/Update/Delete commands on a specific table, lets say - dbo.MyTbl.
I can use extended events to analyze the completed TSQL commands in order to find dbo.MyTbl or [dbo].[MyTbl] (I assume the schema is always mentioned explicitly). The problem is that the table could be accessed through a view, and it won't be mentioned explicitly
in the TSQL command.
Is there a way to solve this problem through Extended Events, or a better solution for such a problem?
El castellano no es mi lengua materna. Discúlpenme por los errores gramaticales, y, si pueden, corríjanme en los comentarios, o por correo electrónico. ¡Muchas gracias! Blog: http://about.me/GeriReshef