<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: SQL SERVER &#8211; Find Currently Running Query &#8211; T-SQL</title>
	<atom:link href="http://blog.sqlauthority.com/2009/01/07/sql-server-find-currently-running-query-t-sql/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.sqlauthority.com/2009/01/07/sql-server-find-currently-running-query-t-sql/</link>
	<description>Personal Notes of Pinal Dave</description>
	<lastBuildDate>Thu, 23 May 2013 14:22:59 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: Imran</title>
		<link>http://blog.sqlauthority.com/2009/01/07/sql-server-find-currently-running-query-t-sql/#comment-476888</link>
		<dc:creator><![CDATA[Imran]]></dc:creator>
		<pubDate>Fri, 17 May 2013 03:41:24 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=1976#comment-476888</guid>
		<description><![CDATA[Hi Pinal,
Is there specific reason for using sys.dm_exec_sql_text(sql_handle) over fn_get_sql(sql_handle)?

select * from fn_get_sql(sql_handle)
select * from sys.dm_exec_sql_text(sql_handle)

Both the queries give the same result though...]]></description>
		<content:encoded><![CDATA[<p>Hi Pinal,<br />
Is there specific reason for using sys.dm_exec_sql_text(sql_handle) over fn_get_sql(sql_handle)?</p>
<p>select * from fn_get_sql(sql_handle)<br />
select * from sys.dm_exec_sql_text(sql_handle)</p>
<p>Both the queries give the same result though&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Abhi</title>
		<link>http://blog.sqlauthority.com/2009/01/07/sql-server-find-currently-running-query-t-sql/#comment-450319</link>
		<dc:creator><![CDATA[Abhi]]></dc:creator>
		<pubDate>Fri, 05 Apr 2013 14:39:47 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=1976#comment-450319</guid>
		<description><![CDATA[Dear Sir, Thank you for your wondeful blog. It has been helping me a lot with my project. I have a question regarding this method. I ran the above query to see how many queries in my batch have successfully completed and which one is running right now. But it gives me the list of all queries in the batch and not the query which is actually running right now. Could you please help me with that. I would really appreciate it.]]></description>
		<content:encoded><![CDATA[<p>Dear Sir, Thank you for your wondeful blog. It has been helping me a lot with my project. I have a question regarding this method. I ran the above query to see how many queries in my batch have successfully completed and which one is running right now. But it gives me the list of all queries in the batch and not the query which is actually running right now. Could you please help me with that. I would really appreciate it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sri</title>
		<link>http://blog.sqlauthority.com/2009/01/07/sql-server-find-currently-running-query-t-sql/#comment-433120</link>
		<dc:creator><![CDATA[Sri]]></dc:creator>
		<pubDate>Thu, 07 Mar 2013 02:19:44 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=1976#comment-433120</guid>
		<description><![CDATA[Hi Pinal,

We have a setup in our environment which depends completely on Stored Procedures, we have a problem out like a stored procedure is executing continuously in the backend for every second, i have checked the jobs but i could find nothing scheduled in jobs, even windows event viewer and activity monitor could not help me,  this was shown in profiler that a particular sp is running continuosly, so could you please tell me where i can find the solution for it, i don&#039;t want that SP to run continuously.]]></description>
		<content:encoded><![CDATA[<p>Hi Pinal,</p>
<p>We have a setup in our environment which depends completely on Stored Procedures, we have a problem out like a stored procedure is executing continuously in the backend for every second, i have checked the jobs but i could find nothing scheduled in jobs, even windows event viewer and activity monitor could not help me,  this was shown in profiler that a particular sp is running continuosly, so could you please tell me where i can find the solution for it, i don&#8217;t want that SP to run continuously.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Manu P K</title>
		<link>http://blog.sqlauthority.com/2009/01/07/sql-server-find-currently-running-query-t-sql/#comment-431984</link>
		<dc:creator><![CDATA[Manu P K]]></dc:creator>
		<pubDate>Tue, 05 Mar 2013 07:53:35 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=1976#comment-431984</guid>
		<description><![CDATA[Hi Pinal,

            Please let us know how we can get all the SQL quries executed during a time period. 

Thanks]]></description>
		<content:encoded><![CDATA[<p>Hi Pinal,</p>
<p>            Please let us know how we can get all the SQL quries executed during a time period. </p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SQL SERVER &#8211; Weekly Series &#8211; Memory Lane &#8211; #011 &#171; SQL Server Journey with SQL Authority</title>
		<link>http://blog.sqlauthority.com/2009/01/07/sql-server-find-currently-running-query-t-sql/#comment-406702</link>
		<dc:creator><![CDATA[SQL SERVER &#8211; Weekly Series &#8211; Memory Lane &#8211; #011 &#171; SQL Server Journey with SQL Authority]]></dc:creator>
		<pubDate>Sat, 12 Jan 2013 01:31:03 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=1976#comment-406702</guid>
		<description><![CDATA[[...] Find Currently Running Query – T-SQL [...]]]></description>
		<content:encoded><![CDATA[<p>[...] Find Currently Running Query – T-SQL [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SQL Server &#8211; Find Currently Running Queries &#171; Thameem</title>
		<link>http://blog.sqlauthority.com/2009/01/07/sql-server-find-currently-running-query-t-sql/#comment-342509</link>
		<dc:creator><![CDATA[SQL Server &#8211; Find Currently Running Queries &#171; Thameem]]></dc:creator>
		<pubDate>Mon, 10 Sep 2012 12:33:48 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=1976#comment-342509</guid>
		<description><![CDATA[[...] http://blog.sqlauthority.com/2009/01/07/sql-server-find-currently-running-query-t-sql/ [...]]]></description>
		<content:encoded><![CDATA[<p>[...] <a href="http://blog.sqlauthority.com/2009/01/07/sql-server-find-currently-running-query-t-sql/" rel="nofollow">http://blog.sqlauthority.com/2009/01/07/sql-server-find-currently-running-query-t-sql/</a> [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: has</title>
		<link>http://blog.sqlauthority.com/2009/01/07/sql-server-find-currently-running-query-t-sql/#comment-341972</link>
		<dc:creator><![CDATA[has]]></dc:creator>
		<pubDate>Sat, 08 Sep 2012 09:37:10 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=1976#comment-341972</guid>
		<description><![CDATA[Thanks very usefull]]></description>
		<content:encoded><![CDATA[<p>Thanks very usefull</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dinesh</title>
		<link>http://blog.sqlauthority.com/2009/01/07/sql-server-find-currently-running-query-t-sql/#comment-314126</link>
		<dc:creator><![CDATA[Dinesh]]></dc:creator>
		<pubDate>Mon, 16 Jul 2012 15:11:41 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=1976#comment-314126</guid>
		<description><![CDATA[Hi,

While I am running the above query in SQL server 2000. I&#039;m getting the following error:
Incorrect syntax near &#039;APPLY&#039;.

can any one suggest me...?

Thanks in advance]]></description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>While I am running the above query in SQL server 2000. I&#8217;m getting the following error:<br />
Incorrect syntax near &#8216;APPLY&#8217;.</p>
<p>can any one suggest me&#8230;?</p>
<p>Thanks in advance</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: harish</title>
		<link>http://blog.sqlauthority.com/2009/01/07/sql-server-find-currently-running-query-t-sql/#comment-268275</link>
		<dc:creator><![CDATA[harish]]></dc:creator>
		<pubDate>Tue, 27 Mar 2012 09:53:17 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=1976#comment-268275</guid>
		<description><![CDATA[Hi Pinaldave,

i have one dought, how findout current(Today) running multipule job list? 

regards,
Harish]]></description>
		<content:encoded><![CDATA[<p>Hi Pinaldave,</p>
<p>i have one dought, how findout current(Today) running multipule job list? </p>
<p>regards,<br />
Harish</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: harish</title>
		<link>http://blog.sqlauthority.com/2009/01/07/sql-server-find-currently-running-query-t-sql/#comment-268274</link>
		<dc:creator><![CDATA[harish]]></dc:creator>
		<pubDate>Tue, 27 Mar 2012 09:52:27 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=1976#comment-268274</guid>
		<description><![CDATA[Hi Pinaldave,

i have one dought, how findout current(Today) running multipule sql agent job list? 

regards,
Harish]]></description>
		<content:encoded><![CDATA[<p>Hi Pinaldave,</p>
<p>i have one dought, how findout current(Today) running multipule sql agent job list? </p>
<p>regards,<br />
Harish</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: swamy</title>
		<link>http://blog.sqlauthority.com/2009/01/07/sql-server-find-currently-running-query-t-sql/#comment-207114</link>
		<dc:creator><![CDATA[swamy]]></dc:creator>
		<pubDate>Tue, 29 Nov 2011 10:14:14 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=1976#comment-207114</guid>
		<description><![CDATA[above query works fine in sql server 2005, but how about 2000. Please help me.]]></description>
		<content:encoded><![CDATA[<p>above query works fine in sql server 2005, but how about 2000. Please help me.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adnan Ahmed</title>
		<link>http://blog.sqlauthority.com/2009/01/07/sql-server-find-currently-running-query-t-sql/#comment-168275</link>
		<dc:creator><![CDATA[Adnan Ahmed]]></dc:creator>
		<pubDate>Thu, 15 Sep 2011 06:46:53 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=1976#comment-168275</guid>
		<description><![CDATA[Thanks for this article, but i have another query, for example i have stored procedure named A running having function named B, if i execute procedure A, using this query, at some stage this will show function B is executing rather procedure A, please give me any solution for finding procedure A while procedure executing function B.]]></description>
		<content:encoded><![CDATA[<p>Thanks for this article, but i have another query, for example i have stored procedure named A running having function named B, if i execute procedure A, using this query, at some stage this will show function B is executing rather procedure A, please give me any solution for finding procedure A while procedure executing function B.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: veeresh</title>
		<link>http://blog.sqlauthority.com/2009/01/07/sql-server-find-currently-running-query-t-sql/#comment-150368</link>
		<dc:creator><![CDATA[veeresh]]></dc:creator>
		<pubDate>Sun, 24 Jul 2011 10:33:47 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=1976#comment-150368</guid>
		<description><![CDATA[thanks a lot it saved most of the time for today]]></description>
		<content:encoded><![CDATA[<p>thanks a lot it saved most of the time for today</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tim ban</title>
		<link>http://blog.sqlauthority.com/2009/01/07/sql-server-find-currently-running-query-t-sql/#comment-133170</link>
		<dc:creator><![CDATA[tim ban]]></dc:creator>
		<pubDate>Fri, 06 May 2011 11:46:43 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=1976#comment-133170</guid>
		<description><![CDATA[This article is very helpful to me, thanks to pinaldave]]></description>
		<content:encoded><![CDATA[<p>This article is very helpful to me, thanks to pinaldave</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tandy</title>
		<link>http://blog.sqlauthority.com/2009/01/07/sql-server-find-currently-running-query-t-sql/#comment-113918</link>
		<dc:creator><![CDATA[Tandy]]></dc:creator>
		<pubDate>Mon, 24 Jan 2011 22:59:03 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=1976#comment-113918</guid>
		<description><![CDATA[Hi Hendra!

It´s a procedure to identify the exact point of execution of a statement.

You can find the complete code of this procedure on:
http://pareaki.com/bloqueios.txt

Good luck!

Regards,

Tandy]]></description>
		<content:encoded><![CDATA[<p>Hi Hendra!</p>
<p>It´s a procedure to identify the exact point of execution of a statement.</p>
<p>You can find the complete code of this procedure on:<br />
<a href="http://pareaki.com/bloqueios.txt" rel="nofollow">http://pareaki.com/bloqueios.txt</a></p>
<p>Good luck!</p>
<p>Regards,</p>
<p>Tandy</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hendra</title>
		<link>http://blog.sqlauthority.com/2009/01/07/sql-server-find-currently-running-query-t-sql/#comment-112480</link>
		<dc:creator><![CDATA[Hendra]]></dc:creator>
		<pubDate>Fri, 21 Jan 2011 13:04:52 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=1976#comment-112480</guid>
		<description><![CDATA[@tandy,
what is exactly &#039;sp_usrinputbuffer&#039; for ??]]></description>
		<content:encoded><![CDATA[<p>@tandy,<br />
what is exactly &#8216;sp_usrinputbuffer&#8217; for ??</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John</title>
		<link>http://blog.sqlauthority.com/2009/01/07/sql-server-find-currently-running-query-t-sql/#comment-94050</link>
		<dc:creator><![CDATA[John]]></dc:creator>
		<pubDate>Mon, 18 Oct 2010 17:36:18 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=1976#comment-94050</guid>
		<description><![CDATA[I use this on occassion however a added  &quot;WHERE session_id  @@SPID&quot; so that I do not self]]></description>
		<content:encoded><![CDATA[<p>I use this on occassion however a added  &#8220;WHERE session_id  @@SPID&#8221; so that I do not self</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tandy</title>
		<link>http://blog.sqlauthority.com/2009/01/07/sql-server-find-currently-running-query-t-sql/#comment-86197</link>
		<dc:creator><![CDATA[Tandy]]></dc:creator>
		<pubDate>Wed, 01 Sep 2010 20:08:47 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=1976#comment-86197</guid>
		<description><![CDATA[sp_usrinputbuffer ]]></description>
		<content:encoded><![CDATA[<p>sp_usrinputbuffer </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Prasad</title>
		<link>http://blog.sqlauthority.com/2009/01/07/sql-server-find-currently-running-query-t-sql/#comment-65037</link>
		<dc:creator><![CDATA[Prasad]]></dc:creator>
		<pubDate>Mon, 12 Apr 2010 11:19:31 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=1976#comment-65037</guid>
		<description><![CDATA[Hi Pinal,

IS it possible to retrive  the details of currently running ssis package information  by using query that is stored in msdb  ,but not scheduled in sql agent job.

Thanks in Advance
Prasad]]></description>
		<content:encoded><![CDATA[<p>Hi Pinal,</p>
<p>IS it possible to retrive  the details of currently running ssis package information  by using query that is stored in msdb  ,but not scheduled in sql agent job.</p>
<p>Thanks in Advance<br />
Prasad</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: praveen</title>
		<link>http://blog.sqlauthority.com/2009/01/07/sql-server-find-currently-running-query-t-sql/#comment-61085</link>
		<dc:creator><![CDATA[praveen]]></dc:creator>
		<pubDate>Fri, 12 Feb 2010 17:32:07 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=1976#comment-61085</guid>
		<description><![CDATA[thanks a lot.. this query helped me solve an issue :)]]></description>
		<content:encoded><![CDATA[<p>thanks a lot.. this query helped me solve an issue :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: arul</title>
		<link>http://blog.sqlauthority.com/2009/01/07/sql-server-find-currently-running-query-t-sql/#comment-57691</link>
		<dc:creator><![CDATA[arul]]></dc:creator>
		<pubDate>Wed, 18 Nov 2009 09:52:53 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=1976#comment-57691</guid>
		<description><![CDATA[&quot;sql_handle&quot; is not a recognized table hints option. If it is intended as a parameter to a table-valued function, ensure that your database compatibility mode is set to 90.




currently running query error]]></description>
		<content:encoded><![CDATA[<p>&#8220;sql_handle&#8221; is not a recognized table hints option. If it is intended as a parameter to a table-valued function, ensure that your database compatibility mode is set to 90.</p>
<p>currently running query error</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rosie</title>
		<link>http://blog.sqlauthority.com/2009/01/07/sql-server-find-currently-running-query-t-sql/#comment-55068</link>
		<dc:creator><![CDATA[rosie]]></dc:creator>
		<pubDate>Thu, 20 Aug 2009 16:39:37 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=1976#comment-55068</guid>
		<description><![CDATA[is there any way of seeing the parameters being passed with the exec ?]]></description>
		<content:encoded><![CDATA[<p>is there any way of seeing the parameters being passed with the exec ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SQL SERVER – sqlcmd – Using a Dedicated Administrator Connection to Kill Currently Running Query Journey to SQL Authority with Pinal Dave</title>
		<link>http://blog.sqlauthority.com/2009/01/07/sql-server-find-currently-running-query-t-sql/#comment-54361</link>
		<dc:creator><![CDATA[SQL SERVER – sqlcmd – Using a Dedicated Administrator Connection to Kill Currently Running Query Journey to SQL Authority with Pinal Dave]]></dc:creator>
		<pubDate>Sun, 02 Aug 2009 05:11:07 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=1976#comment-54361</guid>
		<description><![CDATA[[...] SQL SERVER – Find Currently Running Query – T-SQL [...]]]></description>
		<content:encoded><![CDATA[<p>[...] SQL SERVER – Find Currently Running Query – T-SQL [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Keerthi</title>
		<link>http://blog.sqlauthority.com/2009/01/07/sql-server-find-currently-running-query-t-sql/#comment-54195</link>
		<dc:creator><![CDATA[Keerthi]]></dc:creator>
		<pubDate>Wed, 29 Jul 2009 08:44:59 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=1976#comment-54195</guid>
		<description><![CDATA[Hi 

When i run the above query, the same i got as the current running  query.
Is there are no queries running currently other than the above query?
If some other queries were also running, then how can it be captured?

Thanks in advance]]></description>
		<content:encoded><![CDATA[<p>Hi </p>
<p>When i run the above query, the same i got as the current running  query.<br />
Is there are no queries running currently other than the above query?<br />
If some other queries were also running, then how can it be captured?</p>
<p>Thanks in advance</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rene Cum</title>
		<link>http://blog.sqlauthority.com/2009/01/07/sql-server-find-currently-running-query-t-sql/#comment-50991</link>
		<dc:creator><![CDATA[Rene Cum]]></dc:creator>
		<pubDate>Tue, 14 Apr 2009 22:33:16 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=1976#comment-50991</guid>
		<description><![CDATA[Does anybody know a query for SQL Server 2000?

Thank you!]]></description>
		<content:encoded><![CDATA[<p>Does anybody know a query for SQL Server 2000?</p>
<p>Thank you!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
