Is there a way to use Profiler to determine whether a table is being accessed by queries?
I saw an event named Object:Opened
(Indicates when an object has been accessed, such as for SELECT, INSERT, or DELETE statements) and Object:Closed
, but these do not seem to work.
In particular, I created a simple trace with both Object:Opened and Object:Closed with no filters (except the standard "Application Name not like 'SQL Profiler'" filter) and ran SELECT TOP 1 * FROM TableName
, but no events were reported.
So, is there a way to use Profiler to determine if a table is being SELECTed from?