Events
Sep 15, 6 AM - Sep 17, 3 PM
The best SQL community-led learning event. Sept 2025. Save €200 with code FABLEARN.
Get registeredThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Applies to:
SQL Server
Azure SQL Managed Instance
Drops an event session.
Transact-SQL syntax conventions
DROP EVENT SESSION event_session_name
ON SERVER
event_session_name
Is the name of an existing event session.
When you drop an event session, all configuration information, such as targets and session parameters, is completely removed.
Requires the ALTER ANY EVENT SESSION
permission.
The following example shows how to drop an event session.
DROP EVENT SESSION evt_spin_lock_diagnosis ON SERVER;
GO
CREATE EVENT SESSION (Transact-SQL)
ALTER EVENT SESSION (Transact-SQL)
sys.server_event_sessions (Transact-SQL)
Events
Sep 15, 6 AM - Sep 17, 3 PM
The best SQL community-led learning event. Sept 2025. Save €200 with code FABLEARN.
Get registeredAsk Learn is an AI assistant that can answer questions, clarify concepts, and define terms using trusted Microsoft documentation.
Please sign in to use Ask Learn.
Sign in