﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQLServerCentral / Article Discussions / Article Discussions by Author / Discuss content posted by Prakash Heda  / Get Top Queries Taxing SQL Server CPUs / 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>Sun, 19 May 2013 12:44:32 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Get Top Queries Taxing SQL Server CPUs</title><link>http://www.sqlservercentral.com/Forums/Topic1265292-776-1.aspx</link><description>I was able to reproduce the issueSeems when one copy the code and run it, it has special character get added due to HTML, invisible though but in windows 2003 notepad and SQL 2012 SSMS editor I was able to see and replace it and than it works, not able to see that character in win7 notepad though.  let me know if you this doesn't work...</description><pubDate>Tue, 13 Mar 2012 17:42:24 GMT</pubDate><dc:creator>Prakash Heda</dc:creator></item><item><title>RE: Get Top Queries Taxing SQL Server CPUs</title><link>http://www.sqlservercentral.com/Forums/Topic1265292-776-1.aspx</link><description>Also update declare variable part like below:declare @ServerTime datetime , @ConvertMiliSeconds bigint , @FilterMoreThanMiliSeconds bigint , @FilterHours bigint, @execution_count bigint , @debugFlg bit  select @ServerTime = getdate(),@ConvertMiliSeconds = 1000,@FilterMoreThanMiliSeconds = 1,@FilterHours = 2,@execution_count = 2,@debugFlg bit = 0</description><pubDate>Tue, 13 Mar 2012 03:29:40 GMT</pubDate><dc:creator>Prakash Heda</dc:creator></item><item><title>RE: Get Top Queries Taxing SQL Server CPUs</title><link>http://www.sqlservercentral.com/Forums/Topic1265292-776-1.aspx</link><description>What is the version of SQL server you are using? Try commenting the "queryexecuted" column code and run sameCheck this article for [url=http://www.sqlfeatures.com/2012/02/27/detect-worst-performing-sql-queries-part-3/]how to use this script[/url]:Prakashwww.sqlfeatures.com</description><pubDate>Tue, 13 Mar 2012 03:24:18 GMT</pubDate><dc:creator>Prakash Heda</dc:creator></item><item><title>RE: Get Top Queries Taxing SQL Server CPUs</title><link>http://www.sqlservercentral.com/Forums/Topic1265292-776-1.aspx</link><description>Hello Prakash, Hope this reply finds you well...Thank you very much for the post, by the way I am getting below error.Please help me out to correct the same........Is ther any setting from my SQL Server SMO to be done ?Msg 102, Level 15, State 1, Line 14Incorrect syntax near ' '.Msg 102, Level 15, State 1, Line 37Incorrect syntax near ' '.Msg 102, Level 15, State 1, Line 49Incorrect syntax near ' '.</description><pubDate>Mon, 12 Mar 2012 23:54:37 GMT</pubDate><dc:creator>muthalif</dc:creator></item><item><title>Get Top Queries Taxing SQL Server CPUs</title><link>http://www.sqlservercentral.com/Forums/Topic1265292-776-1.aspx</link><description>Comments posted to this topic are about the item [B]&lt;A HREF="/scripts/Performance+Tuning/89143/"&gt;Get Top Queries Taxing SQL Server CPUs&lt;/A&gt;[/B]</description><pubDate>Mon, 12 Mar 2012 09:15:40 GMT</pubDate><dc:creator>Prakash Heda</dc:creator></item></channel></rss>