0

Which XEvents fire on simple select * from table query ? I want to test something and can't find easily testable XEvent.

user7042812
  • 113
  • 1
  • 12

1 Answers1

2

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.

Dan Guzman
  • 43,250
  • 3
  • 46
  • 71