Please start any new threads on our new site at We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
Save Password
Forgot your Password?

 All Forums
 SQL Server 2005 Forums
 Transact-SQL (2005)
 Expensive Query
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Posting Yak Master

240 Posts

Posted - 12/09/2013 :  12:15:36  Show Profile  Reply with Quote
Hi All,

Is there any way to get the queries which is taking more time to execute

Almighty SQL Goddess

38200 Posts

Posted - 12/09/2013 :  12:44:03  Show Profile  Visit tkizer's Homepage  Reply with Quote
Define "more time".

Setup so_whoisactive to log active queries every minute. Alternatively, you can use run a trace or setup an extended event session.

Tara Kizer
SQL Server MVP since 2007
Go to Top of Page
  Previous Topic Topic Next Topic  
 Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.03 seconds. Powered By: Snitz Forums 2000