Delete SQL Server Extended Events Session


There are a couple of ways you can delete an extended events session which we will show below.

Delete Extended Events Session Using TSQL

To remove an extended events session using TSQL we can use the "DROP EVENT SESSION" statement.  This statement takes only the session name as input as shown below.


Delete Extended Events Session Using SSMS 

You can also remove a session using "Object Explorer" by expanding the "Management" node, then "Extended Events", then "Sessions".  You can then right click on the event you want to remove and select "Delete" to drop the session as shown below. 

delete an extended events session with ssms
Additional Information

Last Update: 6/14/2019

More SQL Server Solutions

Post a comment or let the author know this tip helped.

All comments are reviewed, so stay on subject or we may delete your comment. Note: your email address is not published. Required fields are marked with an asterisk (*).

Email me updates

Signup for our newsletter

I agree by submitting my data to receive communications, account updates and/or special offers about SQL Server from MSSQLTips and/or its Sponsors. I have read the privacy statement and understand I may unsubscribe at any time.


get free sql tips
agree to terms

Learn more about SQL Server tools