<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: View Active Connections</title>
	<atom:link href="http://sqlserverplanet.com/dmv-queries/view-active-connections/feed" rel="self" type="application/rss+xml" />
	<link>http://sqlserverplanet.com/dmv-queries/view-active-connections</link>
	<description>Tips and Articles on SQL Server</description>
	<lastBuildDate>Mon, 06 Feb 2012 13:36:24 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Farai T</title>
		<link>http://sqlserverplanet.com/dmv-queries/view-active-connections/comment-page-1#comment-970</link>
		<dc:creator>Farai T</dc:creator>
		<pubDate>Fri, 18 Nov 2011 14:54:25 +0000</pubDate>
		<guid isPermaLink="false">http://sqlserverplanet.com/?p=149#comment-970</guid>
		<description>i have a domain running on windows server 2000, i also have a pc running on windows 7 acting as the pastel evolution software server, here is my query/ problem

Unable to connect to server &#039;ACCOUNTS\SQLEXPRESS&quot;. Reason: timeout expired

please help guys, will really appreciate.</description>
		<content:encoded><![CDATA[<p>i have a domain running on windows server 2000, i also have a pc running on windows 7 acting as the pastel evolution software server, here is my query/ problem</p>
<p>Unable to connect to server &#8216;ACCOUNTS\SQLEXPRESS&#8221;. Reason: timeout expired</p>
<p>please help guys, will really appreciate.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Derek Dieter</title>
		<link>http://sqlserverplanet.com/dmv-queries/view-active-connections/comment-page-1#comment-710</link>
		<dc:creator>Derek Dieter</dc:creator>
		<pubDate>Sat, 09 Jul 2011 05:17:16 +0000</pubDate>
		<guid isPermaLink="false">http://sqlserverplanet.com/?p=149#comment-710</guid>
		<description>I Ciaran,

Actually this query will group the queries by application name.  And yes that will show under program_name

Thanks</description>
		<content:encoded><![CDATA[<p>I Ciaran,</p>
<p>Actually this query will group the queries by application name.  And yes that will show under program_name</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ciaran</title>
		<link>http://sqlserverplanet.com/dmv-queries/view-active-connections/comment-page-1#comment-702</link>
		<dc:creator>ciaran</dc:creator>
		<pubDate>Sun, 03 Jul 2011 13:34:35 +0000</pubDate>
		<guid isPermaLink="false">http://sqlserverplanet.com/?p=149#comment-702</guid>
		<description>Derek,
I was looking at your code &quot;-- By Application
SELECT
     CPU            = SUM(cpu_time)
    ,WaitTime       = SUM(total_scheduled_time)
    ,ElapsedTime    = SUM(total_elapsed_time)
    ,Reads          = SUM(num_reads)
    ,Writes         = SUM(num_writes)
    ,Connections    = COUNT(1)
    ,Program        = program_name
FROM sys.dm_exec_connections con
LEFT JOIN sys.dm_exec_sessions ses
    ON ses.session_id = con.session_id
GROUP BY program_name
ORDER BY cpu DESC&quot;  
and wondered if I understood you correctly. Are you saying we should put the application name in the program_name variable?

Thanks</description>
		<content:encoded><![CDATA[<p>Derek,<br />
I was looking at your code &#8220;&#8211; By Application<br />
SELECT<br />
     CPU            = SUM(cpu_time)<br />
    ,WaitTime       = SUM(total_scheduled_time)<br />
    ,ElapsedTime    = SUM(total_elapsed_time)<br />
    ,Reads          = SUM(num_reads)<br />
    ,Writes         = SUM(num_writes)<br />
    ,Connections    = COUNT(1)<br />
    ,Program        = program_name<br />
FROM sys.dm_exec_connections con<br />
LEFT JOIN sys.dm_exec_sessions ses<br />
    ON ses.session_id = con.session_id<br />
GROUP BY program_name<br />
ORDER BY cpu DESC&#8221;<br />
and wondered if I understood you correctly. Are you saying we should put the application name in the program_name variable?</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
</channel>
</rss>

