DROP EVENT SESSION
removes event session (no row flow)
What changes
- Input
- catalog
- Output or change
- catalog: event session
Syntax at a glance
DROP EVENT SESSION event_session_name ON { SERVER | DATABASE }
Work example
An Extended Events session has completed its incident review and retention period.
Export required evidence, record session findings, and check that no alert depends on the session.
Check your work The evidence is preserved and no active monitoring rule references the removed session.
Open Microsoft Learn for full syntax, permissions, and details for your version.