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

 All Forums
 General SQL Server Forums
 Database Design and Application Architecture
 Sql server query runs forever

Author  Topic 

sravan244
Starting Member

2 Posts

Posted - 2014-12-10 : 11:36:06
Sql server query runs forever though no locks or no uncommitted data.Stats were also refreshed.

sravan kumar

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2014-12-10 : 12:42:04
Show us the code and the showplan xml.

Tara Kizer
SQL Server MVP since 2007
http://weblogs.sqlteam.com/tarad/
Go to Top of Page

sravan244
Starting Member

2 Posts

Posted - 2014-12-11 : 12:49:12
its same production query that runs everyday.but on that day it never returned data.we had stopped the process and restarted it

sravan kumar
Go to Top of Page

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2014-12-11 : 12:51:43
Sounds like a bad execution plan then.

Tara Kizer
SQL Server MVP since 2007
http://weblogs.sqlteam.com/tarad/
Go to Top of Page
   

- Advertisement -