SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
Register Now and get your question answered!
Save Password
Forgot your Password?

 All Forums
 SQL Server 2005 Forums
 Transact-SQL (2005)
 Expensive Query
 New Topic  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

38113 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  
 New 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.05 seconds. Powered By: Snitz Forums 2000