Reputation: 133
Which XEvents fire on simple select * from table query ? I want to test something and can't find easily testable XEvent.
Upvotes: 0
Views: 269
Reputation: 46203
The sql_batch_starting
and sql_batch_completed
events will capture an ad-hoc query. Parameterized queries can be captured with rpc_starting
and rpc_completed
.
Upvotes: 2