DetailPage-MSS-KB

Microsoft small business knowledge base

Article ID: 2803799 - Last Review: October 18, 2013 - Revision: 7.0

Microsoft distributes Microsoft SQL Server 2008 R2 Service Pack 2 (SP2) fixes as one downloadable file. Because the fixes are cumulative, each new release contains all the hotfixes and all the security fixes that were included with the previous SQL Server 2008 R2 Service Pack 2 fix release.

On This Page

Symptoms

Consider the following scenario:
  • You run a query against some dynamic management views (DMVs) in Microsoft SQL Server 2008, Microsoft SQL Server 2008 R2 or in Microsoft SQL Server 2012. For example, you run a query against the sys.dm_exec_procedure_stats and dm_exec_trigger_stats views.
  • The query uses plan_handle as a predicate.
  • The query plan that the plan_handle predicate points to does not exist.

In this scenario, the query enters an infinite loop that never stops running, you may receive a "Non-yielding Scheduler" error, and a minidump file could be generated. Additionally, you cannot kill the query, and the SQL Server service cannot be restarted. You have to restart the computer or use the SHUTDOWN WITH NOWAIT command to restart the SQL Server service.

Resolution

Cumulative update information

Hotfix update package for SQL Server 2008 R2 Service Pack 1

The fix for this issue was first released in the hotfix update package for SQL Server 2008 R2 Service Pack 1  (http://support.microsoft.com/kb/2868244/ ) .

Cumulative Update 12 for SQL Server 2008 Service Pack 3

The fix for this issue was first released in Cumulative Update 12. For more information about how to obtain this cumulative update package for SQL Server 2008 Service Pack 3, click the following article number to view the article in the Microsoft Knowledge Base:
2863205   (http://support.microsoft.com/kb/2863205 / ) Cumulative update package 12 for SQL Server 2008 Service Pack 3
Note Because the builds are cumulative, each new fix release contains all the hotfixes and all the security fixes that were included with the previous SQL Server 2008 Service Pack 3 fix release. We recommend that you consider applying the most recent fix release that contains this hotfix. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
2629969   (http://support.microsoft.com/kb/2629969 / ) The SQL Server 2008 builds that were released after SQL Server 2008 Service Pack 3 was released

Cumulative Update 7 for SQL Server 2012

The fix for this issue was first released in Cumulative Update 7. For more information about how to obtain this cumulative update package for SQL Server 2012, click the following article number to view the article in the Microsoft Knowledge Base:
2823247  (http://support.microsoft.com/kb/2823247/ ) Cumulative update package 7 for SQL Server 2012
Note Because the builds are cumulative, each new fix release contains all the hotfixes and all the security fixes that were included with the previous SQL Server 2012 fix release. We recommend that you consider applying the most recent fix release that contains this hotfix. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
2692828  (http://support.microsoft.com/kb/2692828/ ) The SQL Server 2012 builds that were released after SQL Server 2012 was released

Cumulative Update 3 for SQL Server 2012 SP1

The fix for this issue was first released in Cumulative Update 3. For more information about how to obtain this cumulative update package for SQL Server 2012 SP1, click the following article number to view the article in the Microsoft Knowledge Base:
2812412  (http://support.microsoft.com/kb/2812412/ ) Cumulative update package 3 for SQL Server 2012 Service Pack 1
Note Because the builds are cumulative, each new fix release contains all the hotfixes and all the security fixes that were included with the previous SQL Server 2012 SP1 fix release. We recommend that you consider applying the most recent fix release that contains this hotfix. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
2772858  (http://support.microsoft.com/kb/2772858/ ) The SQL Server 2012 builds that were released after SQL Server 2012 Service Pack 1 was released

Cumulative Update 5 for SQL Server 2008 R2 SP2

The fix for this issue was first released in Cumulative Update 5. For more information about how to obtain this cumulative update package for SQL Server 2008 R2 SP 2, click the following article number to view the article in the Microsoft Knowledge Base:
2797460  (http://support.microsoft.com/kb/2797460/ ) Cumulative update package 5 for SQL Server 2008 R2 Service Pack 2
Note Because the builds are cumulative, each new fix release contains all the hotfixes and all the security fixes that were included with the previous SQL Server 2008 R2 SP 2 fix release. We recommend that you consider applying the most recent fix release that contains this hotfix. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
2730301  (http://support.microsoft.com/kb/2730301/ ) The SQL Server 2008 R2 builds that were released after SQL Server 2008 R2 Service Pack 2 was released

Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

More information

For more information about the sys.dm_exec_query_stats and sys.dm_exec_procedure_stats DMVs, go to the following MSDN websites:
General information about the sys.dm_exec_query_stats dynamic management view (http://msdn.microsoft.com/en-us/library/ms189741(v=sql.105).aspx)
General information about the sys.dm_exec_procedure_stats dynamic management view (http://msdn.microsoft.com/en-us/library/cc280701(v=sql.105).aspx)

Applies to
  • Microsoft SQL Server 2008 R2 Service Pack 2
  • Microsoft SQL Server 2008 R2 Datacenter
  • Microsoft SQL Server 2008 R2 Enterprise
  • Microsoft SQL Server 2008 R2 Developer
  • Microsoft SQL Server 2008 R2 Standard
  • Microsoft SQL Server 2008 R2 Web
  • Microsoft SQL Server 2008 R2 Workgroup
  • Microsoft SQL Server 2008 R2 Express
  • Microsoft SQL Server 2012 Developer
  • Microsoft SQL Server 2012 Enterprise
  • Microsoft SQL Server 2012 Express
  • Microsoft SQL Server 2012 Standard
  • Microsoft SQL Server 2012 Web
  • SQL Server 2012 Enterprise Core
  • Microsoft SQL Server 2008 Developer
  • Microsoft SQL Server 2008 Enterprise
  • Microsoft SQL Server 2008 Express
  • Microsoft SQL Server 2008 Web
  • Microsoft SQL Server 2008 Workgroup
  • Microsoft SQL Server 2008 Standard
Keywords: 
kbqfe kbfix kbsurveynew kbexpertiseadvanced KB2803799
Share
Additional support options
Ask The Microsoft Small Business Support Community
Contact Microsoft Small Business Support
Find Microsoft Small Business Support Certified Partner
Find a Microsoft Store For In-Person Small Business Support