﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQLServerCentral / SQL Server 2008 / T-SQL (SS2K8)  / Inactive Extended Event Sessions / Latest Posts</title><generator>InstantForum.NET v2.9.0</generator><description>SQLServerCentral</description><link>http://www.sqlservercentral.com/Forums/</link><webMaster>notifications@sqlservercentral.com</webMaster><lastBuildDate>Sat, 25 May 2013 02:49:46 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Inactive Extended Event Sessions</title><link>http://www.sqlservercentral.com/Forums/Topic1412349-392-1.aspx</link><description>I asked the same question on twitter and got an instant reply from John Sansom (@SqlBrit)The answer is: use sys.server_event_sessions, not sys.dm_xe_sessions.Thanks John,Robbert</description><pubDate>Tue, 29 Jan 2013 02:10:59 GMT</pubDate><dc:creator>Robbert Hof</dc:creator></item><item><title>Inactive Extended Event Sessions</title><link>http://www.sqlservercentral.com/Forums/Topic1412349-392-1.aspx</link><description>To check if an extended event session with a name exists I use the following statement:[code="sql"]SELECT 1 FROM sys.dm_xe_sessions WHERE name = 'exName'[/code]This only returns 1 if the session is started.How can I determine the inactive sessions also?(SQL Server 2008)thanks,Robbert</description><pubDate>Mon, 28 Jan 2013 04:57:30 GMT</pubDate><dc:creator>Robbert Hof</dc:creator></item></channel></rss>