<?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; 2008 &#8211; 2005 &#8211; Find Longest Running Query &#8211; TSQL</title>
	<atom:link href="http://blog.sqlauthority.com/2009/01/02/sql-server-2008-2005-find-longest-running-query-tsql/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.sqlauthority.com/2009/01/02/sql-server-2008-2005-find-longest-running-query-tsql/</link>
	<description>Personal Notes of Pinal Dave</description>
	<lastBuildDate>Sun, 12 Feb 2012 09:22:39 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: Tejpreet</title>
		<link>http://blog.sqlauthority.com/2009/01/02/sql-server-2008-2005-find-longest-running-query-tsql/#comment-250632</link>
		<dc:creator><![CDATA[Tejpreet]]></dc:creator>
		<pubDate>Thu, 09 Feb 2012 17:56:34 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=1941#comment-250632</guid>
		<description><![CDATA[Is there any query where we can see longest running queries since last restart server..... Thanks in advance]]></description>
		<content:encoded><![CDATA[<p>Is there any query where we can see longest running queries since last restart server&#8230;.. Thanks in advance</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andy</title>
		<link>http://blog.sqlauthority.com/2009/01/02/sql-server-2008-2005-find-longest-running-query-tsql/#comment-246547</link>
		<dc:creator><![CDATA[Andy]]></dc:creator>
		<pubDate>Wed, 01 Feb 2012 09:30:10 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=1941#comment-246547</guid>
		<description><![CDATA[Correction, they are written in T-SQL for Microsoft SQL Server.  (Not, as stated &quot;Written for MIcrosoft T-SQL Server&quot;).
However the fact remains that the sys DMV&#039;s are not present in Oracle.
I suggest starting with the v$sqlstats view (in Oracle) and trying to figure out what you need from there.]]></description>
		<content:encoded><![CDATA[<p>Correction, they are written in T-SQL for Microsoft SQL Server.  (Not, as stated &#8220;Written for MIcrosoft T-SQL Server&#8221;).<br />
However the fact remains that the sys DMV&#8217;s are not present in Oracle.<br />
I suggest starting with the v$sqlstats view (in Oracle) and trying to figure out what you need from there.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andy</title>
		<link>http://blog.sqlauthority.com/2009/01/02/sql-server-2008-2005-find-longest-running-query-tsql/#comment-246541</link>
		<dc:creator><![CDATA[Andy]]></dc:creator>
		<pubDate>Wed, 01 Feb 2012 09:26:09 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=1941#comment-246541</guid>
		<description><![CDATA[Hi,  I think that your problem is that these queries are written for Microsoft T-SQL Server, so they will be different syntax to PL/SQL.
Oracle doesnt have the same system DMV&#039;s that SQL has, which is probably what your problem is.]]></description>
		<content:encoded><![CDATA[<p>Hi,  I think that your problem is that these queries are written for Microsoft T-SQL Server, so they will be different syntax to PL/SQL.<br />
Oracle doesnt have the same system DMV&#8217;s that SQL has, which is probably what your problem is.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: harish</title>
		<link>http://blog.sqlauthority.com/2009/01/02/sql-server-2008-2005-find-longest-running-query-tsql/#comment-246491</link>
		<dc:creator><![CDATA[harish]]></dc:creator>
		<pubDate>Wed, 01 Feb 2012 07:51:48 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=1941#comment-246491</guid>
		<description><![CDATA[HI all,

My requirements are:-

1) How many queries are hitting database
2) What are the queries
3) Which queries is taking long time to execute.

I m using database oracle. Please help.

I tried all queries mentioned above but none of them is working :(

Thanks in advance.]]></description>
		<content:encoded><![CDATA[<p>HI all,</p>
<p>My requirements are:-</p>
<p>1) How many queries are hitting database<br />
2) What are the queries<br />
3) Which queries is taking long time to execute.</p>
<p>I m using database oracle. Please help.</p>
<p>I tried all queries mentioned above but none of them is working :(</p>
<p>Thanks in advance.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: harish</title>
		<link>http://blog.sqlauthority.com/2009/01/02/sql-server-2008-2005-find-longest-running-query-tsql/#comment-246490</link>
		<dc:creator><![CDATA[harish]]></dc:creator>
		<pubDate>Wed, 01 Feb 2012 07:51:16 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=1941#comment-246490</guid>
		<description><![CDATA[I tried all queries mentioned above but none of them is working :(]]></description>
		<content:encoded><![CDATA[<p>I tried all queries mentioned above but none of them is working :(</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: harish</title>
		<link>http://blog.sqlauthority.com/2009/01/02/sql-server-2008-2005-find-longest-running-query-tsql/#comment-246489</link>
		<dc:creator><![CDATA[harish]]></dc:creator>
		<pubDate>Wed, 01 Feb 2012 07:50:31 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=1941#comment-246489</guid>
		<description><![CDATA[HI all,

My requirements are:-

1) How many queries are hitting database
2) What are the queries
3) Which queries is taking long time to execute.

I m using database oracle. Please help.

Thanks in advance.]]></description>
		<content:encoded><![CDATA[<p>HI all,</p>
<p>My requirements are:-</p>
<p>1) How many queries are hitting database<br />
2) What are the queries<br />
3) Which queries is taking long time to execute.</p>
<p>I m using database oracle. Please help.</p>
<p>Thanks in advance.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vara Prasad</title>
		<link>http://blog.sqlauthority.com/2009/01/02/sql-server-2008-2005-find-longest-running-query-tsql/#comment-217045</link>
		<dc:creator><![CDATA[Vara Prasad]]></dc:creator>
		<pubDate>Tue, 13 Dec 2011 21:07:15 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=1941#comment-217045</guid>
		<description><![CDATA[Thanks a lot sreeKumar. If you find any script which combines both plz post it, would be much helpful.]]></description>
		<content:encoded><![CDATA[<p>Thanks a lot sreeKumar. If you find any script which combines both plz post it, would be much helpful.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ankit Shah</title>
		<link>http://blog.sqlauthority.com/2009/01/02/sql-server-2008-2005-find-longest-running-query-tsql/#comment-196120</link>
		<dc:creator><![CDATA[Ankit Shah]]></dc:creator>
		<pubDate>Tue, 15 Nov 2011 14:40:53 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=1941#comment-196120</guid>
		<description><![CDATA[Awesome I got it what iw as looking for 
Thank you so much for posting this query..]]></description>
		<content:encoded><![CDATA[<p>Awesome I got it what iw as looking for<br />
Thank you so much for posting this query..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sd</title>
		<link>http://blog.sqlauthority.com/2009/01/02/sql-server-2008-2005-find-longest-running-query-tsql/#comment-191923</link>
		<dc:creator><![CDATA[sd]]></dc:creator>
		<pubDate>Thu, 10 Nov 2011 00:10:31 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=1941#comment-191923</guid>
		<description><![CDATA[sumit dave, thanks again.]]></description>
		<content:encoded><![CDATA[<p>sumit dave, thanks again.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mannu</title>
		<link>http://blog.sqlauthority.com/2009/01/02/sql-server-2008-2005-find-longest-running-query-tsql/#comment-137032</link>
		<dc:creator><![CDATA[mannu]]></dc:creator>
		<pubDate>Fri, 27 May 2011 13:39:05 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=1941#comment-137032</guid>
		<description><![CDATA[thanks sir ,
please tell me abt function,procedure,trigger and joining]]></description>
		<content:encoded><![CDATA[<p>thanks sir ,<br />
please tell me abt function,procedure,trigger and joining</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andy</title>
		<link>http://blog.sqlauthority.com/2009/01/02/sql-server-2008-2005-find-longest-running-query-tsql/#comment-104618</link>
		<dc:creator><![CDATA[Andy]]></dc:creator>
		<pubDate>Fri, 10 Dec 2010 14:08:04 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=1941#comment-104618</guid>
		<description><![CDATA[You could just try studying using the Microsoft guides... thats what I did and it worked just fine.]]></description>
		<content:encoded><![CDATA[<p>You could just try studying using the Microsoft guides&#8230; thats what I did and it worked just fine.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gunjan Kalra</title>
		<link>http://blog.sqlauthority.com/2009/01/02/sql-server-2008-2005-find-longest-running-query-tsql/#comment-104571</link>
		<dc:creator><![CDATA[Gunjan Kalra]]></dc:creator>
		<pubDate>Fri, 10 Dec 2010 08:10:26 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=1941#comment-104571</guid>
		<description><![CDATA[Hi,

I want to do SQL server 2005 certification.
Can anyone please provide the DUMPS for the same.

Thanks in advance!

Gunjan Kalra]]></description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I want to do SQL server 2005 certification.<br />
Can anyone please provide the DUMPS for the same.</p>
<p>Thanks in advance!</p>
<p>Gunjan Kalra</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sreekumar</title>
		<link>http://blog.sqlauthority.com/2009/01/02/sql-server-2008-2005-find-longest-running-query-tsql/#comment-101810</link>
		<dc:creator><![CDATA[Sreekumar]]></dc:creator>
		<pubDate>Wed, 24 Nov 2010 06:11:27 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=1941#comment-101810</guid>
		<description><![CDATA[hi guys , 
i want to find the queries ran and their time. , who ran it from which program. 

the first part is solved by 
-------------sql 1----------
use master 
SELECT 
t.TEXT QueryName,
s.execution_count AS ExecutionCount,
s.max_elapsed_time AS MaxElapsedTime,
s.creation_time AS LogCreatedOn
FROM sys.dm_exec_query_stats s
CROSS APPLY sys.dm_exec_sql_text( s.sql_handle ) t
ORDER BY s.max_elapsed_time DESC, ExecutionCount DESC

second part  gives database name hostname , program name , nt username and loginname 

-----------sql 2----------
SELECT DATEDIFF(MINUTE, a.last_batch, GETDATE()) RunningTime,
a.spid, a.blocked, a.waittime, db_name(a.dbid) As dbname,
a.last_batch, a.hostname, a.program_name,
a.nt_username, a.loginame, b.text as sqlstatement
FROM sys.sysprocesses A CROSS APPLY sys.dm_exec_sql_text(a.sql_handle) B
ORDER BY a.last_batch DESC

I need your help to combine query 1 and 2 as i am not familiar with cross apply . please help]]></description>
		<content:encoded><![CDATA[<p>hi guys ,<br />
i want to find the queries ran and their time. , who ran it from which program. </p>
<p>the first part is solved by<br />
&#8212;&#8212;&#8212;&#8212;-sql 1&#8212;&#8212;&#8212;-<br />
use master<br />
SELECT<br />
t.TEXT QueryName,<br />
s.execution_count AS ExecutionCount,<br />
s.max_elapsed_time AS MaxElapsedTime,<br />
s.creation_time AS LogCreatedOn<br />
FROM sys.dm_exec_query_stats s<br />
CROSS APPLY sys.dm_exec_sql_text( s.sql_handle ) t<br />
ORDER BY s.max_elapsed_time DESC, ExecutionCount DESC</p>
<p>second part  gives database name hostname , program name , nt username and loginname </p>
<p>&#8212;&#8212;&#8212;&#8211;sql 2&#8212;&#8212;&#8212;-<br />
SELECT DATEDIFF(MINUTE, a.last_batch, GETDATE()) RunningTime,<br />
a.spid, a.blocked, a.waittime, db_name(a.dbid) As dbname,<br />
a.last_batch, a.hostname, a.program_name,<br />
a.nt_username, a.loginame, b.text as sqlstatement<br />
FROM sys.sysprocesses A CROSS APPLY sys.dm_exec_sql_text(a.sql_handle) B<br />
ORDER BY a.last_batch DESC</p>
<p>I need your help to combine query 1 and 2 as i am not familiar with cross apply . please help</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andy</title>
		<link>http://blog.sqlauthority.com/2009/01/02/sql-server-2008-2005-find-longest-running-query-tsql/#comment-99090</link>
		<dc:creator><![CDATA[Andy]]></dc:creator>
		<pubDate>Thu, 11 Nov 2010 14:31:21 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=1941#comment-99090</guid>
		<description><![CDATA[Hi Ian,

Just for information, I&#039;m running the DB on our server in 2000 compatability mode also, and found that the way to resolve the issue mentioned, was to run the query against the &quot;master&quot; database, rather than our databases.

Regards

Andy Bassitt]]></description>
		<content:encoded><![CDATA[<p>Hi Ian,</p>
<p>Just for information, I&#8217;m running the DB on our server in 2000 compatability mode also, and found that the way to resolve the issue mentioned, was to run the query against the &#8220;master&#8221; database, rather than our databases.</p>
<p>Regards</p>
<p>Andy Bassitt</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andy</title>
		<link>http://blog.sqlauthority.com/2009/01/02/sql-server-2008-2005-find-longest-running-query-tsql/#comment-99089</link>
		<dc:creator><![CDATA[Andy]]></dc:creator>
		<pubDate>Thu, 11 Nov 2010 14:29:23 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=1941#comment-99089</guid>
		<description><![CDATA[Sounds like the comment at the end is missing a - to make it :
SELECT DISTINCT TOP 10
t.TEXT QueryName,
s.execution_count AS ExecutionCount,
s.max_elapsed_time AS MaxElapsedTime,
ISNULL(s.total_elapsed_time / NULLIF(s.execution_count,0), 0) AS AvgElapsedTime,
s.creation_time AS LogCreatedOn,
ISNULL(s.execution_count / NULLIF(DATEDIFF(s, s.creation_time, GETDATE()),0), 0) AS FrequencyPerSec
FROM sys.dm_exec_query_stats s
CROSS APPLY sys.dm_exec_sql_text( s.sql_handle ) t
ORDER BY
s.max_elapsed_time DESC -- Maximum elapsed time, in microseconds

What seems to have happened is some autoformatting in windows, replacing -- with –]]></description>
		<content:encoded><![CDATA[<p>Sounds like the comment at the end is missing a &#8211; to make it :<br />
SELECT DISTINCT TOP 10<br />
t.TEXT QueryName,<br />
s.execution_count AS ExecutionCount,<br />
s.max_elapsed_time AS MaxElapsedTime,<br />
ISNULL(s.total_elapsed_time / NULLIF(s.execution_count,0), 0) AS AvgElapsedTime,<br />
s.creation_time AS LogCreatedOn,<br />
ISNULL(s.execution_count / NULLIF(DATEDIFF(s, s.creation_time, GETDATE()),0), 0) AS FrequencyPerSec<br />
FROM sys.dm_exec_query_stats s<br />
CROSS APPLY sys.dm_exec_sql_text( s.sql_handle ) t<br />
ORDER BY<br />
s.max_elapsed_time DESC &#8212; Maximum elapsed time, in microseconds</p>
<p>What seems to have happened is some autoformatting in windows, replacing &#8212; with –</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andy</title>
		<link>http://blog.sqlauthority.com/2009/01/02/sql-server-2008-2005-find-longest-running-query-tsql/#comment-99088</link>
		<dc:creator><![CDATA[Andy]]></dc:creator>
		<pubDate>Thu, 11 Nov 2010 14:26:20 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=1941#comment-99088</guid>
		<description><![CDATA[You need to run this against the &quot;master&quot; database.  This will prevent the error from happening.]]></description>
		<content:encoded><![CDATA[<p>You need to run this against the &#8220;master&#8221; database.  This will prevent the error from happening.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vels</title>
		<link>http://blog.sqlauthority.com/2009/01/02/sql-server-2008-2005-find-longest-running-query-tsql/#comment-81655</link>
		<dc:creator><![CDATA[Vels]]></dc:creator>
		<pubDate>Sun, 25 Jul 2010 20:06:38 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=1941#comment-81655</guid>
		<description><![CDATA[Hi Pinal,

I wann learn Microsoft sql server.....
would u sugesst me and give me tips regarding this...
How to learn the data base would u assist me..]]></description>
		<content:encoded><![CDATA[<p>Hi Pinal,</p>
<p>I wann learn Microsoft sql server&#8230;..<br />
would u sugesst me and give me tips regarding this&#8230;<br />
How to learn the data base would u assist me..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ian Brown</title>
		<link>http://blog.sqlauthority.com/2009/01/02/sql-server-2008-2005-find-longest-running-query-tsql/#comment-72838</link>
		<dc:creator><![CDATA[Ian Brown]]></dc:creator>
		<pubDate>Mon, 24 May 2010 09:17:03 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=1941#comment-72838</guid>
		<description><![CDATA[@khan

&quot;I have run the above query but i get the following error.
Msg 102, Level 15, State 1, Line 10
Incorrect syntax near ‘.’.

Can any one pls suggest&quot;

You are running an MS SQL database on a 2005 or 2008 server but the DB in 2000 compatibility mode. Up the compatibility to server 2005 and you&#039;ll fix it. 

Ian

&lt;a href=&quot;http://www.ian-b.com&quot; rel=&quot;nofollow&quot;&gt;Ian Brown&lt;/a&gt;]]></description>
		<content:encoded><![CDATA[<p>@khan</p>
<p>&#8220;I have run the above query but i get the following error.<br />
Msg 102, Level 15, State 1, Line 10<br />
Incorrect syntax near ‘.’.</p>
<p>Can any one pls suggest&#8221;</p>
<p>You are running an MS SQL database on a 2005 or 2008 server but the DB in 2000 compatibility mode. Up the compatibility to server 2005 and you&#8217;ll fix it. </p>
<p>Ian</p>
<p><a href="http://www.ian-b.com" rel="nofollow">Ian Brown</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: PeterK2003</title>
		<link>http://blog.sqlauthority.com/2009/01/02/sql-server-2008-2005-find-longest-running-query-tsql/#comment-64834</link>
		<dc:creator><![CDATA[PeterK2003]]></dc:creator>
		<pubDate>Thu, 08 Apr 2010 15:45:09 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=1941#comment-64834</guid>
		<description><![CDATA[The view contains one row per query statement within the cached plan, and the lifetime of the rows are tied to the plan itself. When a plan is removed from the cache, the corresponding rows are eliminated from this view.]]></description>
		<content:encoded><![CDATA[<p>The view contains one row per query statement within the cached plan, and the lifetime of the rows are tied to the plan itself. When a plan is removed from the cache, the corresponding rows are eliminated from this view.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: PeterK2003</title>
		<link>http://blog.sqlauthority.com/2009/01/02/sql-server-2008-2005-find-longest-running-query-tsql/#comment-64745</link>
		<dc:creator><![CDATA[PeterK2003]]></dc:creator>
		<pubDate>Wed, 07 Apr 2010 17:18:00 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=1941#comment-64745</guid>
		<description><![CDATA[How long is the data retained in sys.dm_exec_query_stats and  sys.dm_exec_sql_text?]]></description>
		<content:encoded><![CDATA[<p>How long is the data retained in sys.dm_exec_query_stats and  sys.dm_exec_sql_text?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Madhivanan</title>
		<link>http://blog.sqlauthority.com/2009/01/02/sql-server-2008-2005-find-longest-running-query-tsql/#comment-63546</link>
		<dc:creator><![CDATA[Madhivanan]]></dc:creator>
		<pubDate>Tue, 23 Mar 2010 09:52:09 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=1941#comment-63546</guid>
		<description><![CDATA[Post the code you used]]></description>
		<content:encoded><![CDATA[<p>Post the code you used</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: AB</title>
		<link>http://blog.sqlauthority.com/2009/01/02/sql-server-2008-2005-find-longest-running-query-tsql/#comment-58035</link>
		<dc:creator><![CDATA[AB]]></dc:creator>
		<pubDate>Mon, 30 Nov 2009 20:16:48 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=1941#comment-58035</guid>
		<description><![CDATA[Thank you. That query saved our production server !]]></description>
		<content:encoded><![CDATA[<p>Thank you. That query saved our production server !</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tracy</title>
		<link>http://blog.sqlauthority.com/2009/01/02/sql-server-2008-2005-find-longest-running-query-tsql/#comment-56908</link>
		<dc:creator><![CDATA[Tracy]]></dc:creator>
		<pubDate>Thu, 22 Oct 2009 15:29:08 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=1941#comment-56908</guid>
		<description><![CDATA[still got the 
Msg 102, Level 15, State 1, Line 8
Incorrect syntax near &#039;–&#039;.
on sql server 2005
can anyone help pls]]></description>
		<content:encoded><![CDATA[<p>still got the<br />
Msg 102, Level 15, State 1, Line 8<br />
Incorrect syntax near &#8216;–&#8217;.<br />
on sql server 2005<br />
can anyone help pls</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sid</title>
		<link>http://blog.sqlauthority.com/2009/01/02/sql-server-2008-2005-find-longest-running-query-tsql/#comment-56757</link>
		<dc:creator><![CDATA[sid]]></dc:creator>
		<pubDate>Fri, 16 Oct 2009 14:18:48 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=1941#comment-56757</guid>
		<description><![CDATA[Pinal,

This helped identifying the query which takes time. 

Is there a way to kill the long running procedure? In case SSRS report has executed that procedures?

Thanks,
Sid]]></description>
		<content:encoded><![CDATA[<p>Pinal,</p>
<p>This helped identifying the query which takes time. </p>
<p>Is there a way to kill the long running procedure? In case SSRS report has executed that procedures?</p>
<p>Thanks,<br />
Sid</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Warren Campbell</title>
		<link>http://blog.sqlauthority.com/2009/01/02/sql-server-2008-2005-find-longest-running-query-tsql/#comment-56540</link>
		<dc:creator><![CDATA[Warren Campbell]]></dc:creator>
		<pubDate>Thu, 08 Oct 2009 17:55:49 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=1941#comment-56540</guid>
		<description><![CDATA[For those with the:

Incorrect syntax near ‘.’.

problem... I think this is due to database compatabiltiy mode &lt; 90.  Still need to test to confirm, but I think that&#039;s my problem.]]></description>
		<content:encoded><![CDATA[<p>For those with the:</p>
<p>Incorrect syntax near ‘.’.</p>
<p>problem&#8230; I think this is due to database compatabiltiy mode &lt; 90.  Still need to test to confirm, but I think that&#039;s my problem.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

