Microsoft KB Archive/932393

From BetaArchive Wiki
< Microsoft KB Archive
Revision as of 17:36, 18 July 2020 by 3155ffGd (talk | contribs) (importing KB archive)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Article ID: 932393

Article Last Modified on 11/20/2007



APPLIES TO

  • Microsoft SQL Server 2005 Standard Edition
  • Microsoft SQL Server 2005 Standard X64 Edition
  • Microsoft SQL Server 2005 Developer Edition
  • Microsoft SQL Server 2005 Enterprise Edition
  • Microsoft SQL Server 2005 Enterprise Edition for Itanium-based Systems
  • Microsoft SQL Server 2005 Enterprise X64 Edition
  • Microsoft SQL Server 2005 Standard Edition for Itanium-based Systems Community Technology Preview



Bug #: SQL Hotfix 50000820

Notice

Microsoft distributes Microsoft SQL Server 2005 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 2005 fix release.

SUMMARY

This article describes the following about this hotfix release:

  • The issues that are fixed by this hotfix package
  • The prerequisites for installing the hotfix package
  • Whether you must restart the computer after you install the hotfix package
  • Whether the hotfix package is replaced by any other hotfix package
  • Whether you must make any registry changes
  • The files that are contained in the hotfix package


SYMPTOMS

In Microsoft SQL Server 2005, you may experience poor performance after you install SQL Server 2005 Service Pack 1 (SP1). This issue occurs when you run a query that has a CASE function in the WHERE clause. For example, you run a query that resembles the following:

SELECT * FROM
(
SELECT CASE 
                  WHEN col1 IS NULL THEN  3
                  WHEN col1=0 THEN 3
                  WHEN col1=2 THEN 0
                  ELSE 3
                  END Col2
FROM T1
WHERE col3 =N'') T2
WHERE col4 in(0,1,2)

CAUSE

A code change in SQL Server 2005 SP1 causes an incorrect cardinality estimate for the CASE function. This behavior causes an inefficient execution plan.

RESOLUTION

Hotfix information

A supported hotfix is now available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing this specific problem. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next service pack that contains this hotfix.

To resolve this problem, submit a request to Microsoft Online Customer Services to obtain the hotfix. To submit an online request to obtain the hotfix, visit the following Microsoft Web site:

Note If additional issues occur or any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. To create a separate service request, visit the following Microsoft Web site:

Prerequisites

To apply this hotfix, you must have SQL Server 2005 Service Pack 1 installed. For more information about how to obtain SQL Server 2005 Service Pack 1, click the following article number to view the article in the Microsoft Knowledge Base:

913089 How to obtain the latest service pack for SQL Server 2005


Restart information

You do not have to restart the computer after you apply this hotfix.

Hotfix replacement information

This hotfix does not replace any other hotfixes.

File information

The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.

SQL Server 2005 hotfix, 32-bit versions
File name File version File size Date Time Platform
Bcp.exe 2005.90.2223.0 69,488 20-Feb-2007 11:46 x86
Databasemailengine.dll 9.0.2223.0 75,120 20-Feb-2007 11:46 x86
Logread.exe 2005.90.2223.0 400,752 20-Feb-2007 11:47 x86
Microsoft.analysisservices.adomdclient.dll 9.0.2223.0 546,160 20-Feb-2007 11:47 x86
Microsoft.analysisservices.deploymentengine.dll 9.0.2223.0 140,656 20-Feb-2007 11:47 x86
Microsoft.analysisservices.dll 9.0.2223.0 1,217,904 20-Feb-2007 11:47 x86
Microsoft.sqlserver.mgdsqldumper.dll 2005.90.2223.0 78,192 20-Feb-2007 11:47 x86
Microsoft.sqlserver.sqlenum.dll 9.0.2223.0 910,704 20-Feb-2007 11:47 x86
Msasxpress.dll 9.0.2223.0 24,944 20-Feb-2007 11:47 x86
Msgprox.dll 2005.90.2223.0 200,560 20-Feb-2007 11:47 x86
Msmdlocal.dll 9.0.2223.0 15,646,064 20-Feb-2007 11:47 x86
Msmdredir.dll 9.0.2223.0 3,993,968 20-Feb-2007 11:47 x86
Mssqlsystemresource.ldf Not applicable 524,288 19-Feb-2007 21:32 Not applicable
Mssqlsystemresource.mdf Not applicable 40,108,032 19-Feb-2007 21:32 Not applicable
Qrdrsvc.exe 2005.90.2223.0 369,520 20-Feb-2007 11:47 x86
Rdistcom.dll 2005.90.2223.0 643,440 20-Feb-2007 11:47 x86
Repldp.dll 2005.90.2223.0 187,248 20-Feb-2007 11:47 x86
Replmerg.exe 2005.90.2223.0 320,880 20-Feb-2007 11:47 x86
Replprov.dll 2005.90.2223.0 550,256 20-Feb-2007 11:47 x86
Replrec.dll 2005.90.2223.0 784,752 20-Feb-2007 11:47 x86
Replsub.dll 2005.90.2223.0 407,408 20-Feb-2007 11:47 x86
Spresolv.dll 2005.90.2223.0 177,008 20-Feb-2007 11:47 x86
Sqlaccess.dll 2005.90.2223.0 350,576 20-Feb-2007 11:47 x86
Sqlagent90.exe 2005.90.2223.0 321,392 20-Feb-2007 11:47 x86
Sqlservr.exe 2005.90.2223.0 28,979,112 20-Feb-2007 11:47 x86
Sysdbupg.sql Not applicable 218,486 29-Dec-2006 13:53 Not applicable
Xmlsub.dll 2005.90.2223.0 195,440 20-Feb-2007 11:47 x86
Xpstar90.dll 2005.90.2223.0 295,280 20-Feb-2007 11:47 x86
Xpstar90.rll 2005.90.2223.0 155,504 20-Feb-2007 11:47 x86
SQL Server 2005 hotfix, x64 versions
File name File version File size Date Time Platform
Bcp.exe 2005.90.2223.0 88,944 19-Feb-2007 23:50 x64
Databasemailengine.dll 9.0.2223.0 75,120 19-Feb-2007 23:50 x86
Logread.exe 2005.90.2223.0 525,168 19-Feb-2007 23:51 x64
Microsoft.analysisservices.adomdclient.dll 9.0.2223.0 546,160 19-Feb-2007 23:51 x86
Microsoft.analysisservices.adomdclient.dll 9.0.2223.0 546,160 20-Feb-2007 11:47 x86
Microsoft.analysisservices.deploymentengine.dll 9.0.2223.0 140,656 20-Feb-2007 11:47 x86
Microsoft.analysisservices.dll 9.0.2223.0 1,217,904 20-Feb-2007 11:47 x86
Microsoft.sqlserver.mgdsqldumper.dll 2005.90.2223.0 94,064 19-Feb-2007 23:51 x64
Microsoft.sqlserver.mgdsqldumper.dll 2005.90.2223.0 78,192 20-Feb-2007 11:47 x86
Microsoft.sqlserver.sqlenum.dll 9.0.2223.0 877,936 19-Feb-2007 23:51 x86
Msasxpress.dll 9.0.2223.0 30,064 19-Feb-2007 23:51 x64
Msasxpress.dll 9.0.2223.0 24,944 20-Feb-2007 11:47 x86
Msgprox.dll 2005.90.2223.0 262,000 19-Feb-2007 23:51 x64
Msmdlocal.dll 9.0.2223.0 15,646,064 20-Feb-2007 11:47 x86
Msmdredir.dll 9.0.2223.0 3,993,968 20-Feb-2007 11:47 x86
Mssqlsystemresource.ldf Not applicable 524,288 19-Feb-2007 21:32 Not applicable
Mssqlsystemresource.mdf Not applicable 40,108,032 19-Feb-2007 21:32 Not applicable
Qrdrsvc.exe 2005.90.2223.0 434,032 19-Feb-2007 23:51 x64
Rdistcom.dll 2005.90.2223.0 836,464 19-Feb-2007 23:51 x64
Repldp.dll 2005.90.2223.0 237,936 19-Feb-2007 23:51 x64
Repldp.dll 2005.90.2223.0 187,248 20-Feb-2007 11:47 x86
Replmerg.exe 2005.90.2223.0 417,648 19-Feb-2007 23:51 x64
Replprov.dll 2005.90.2223.0 747,888 19-Feb-2007 23:51 x64
Replrec.dll 2005.90.2223.0 1,011,056 19-Feb-2007 23:51 x64
Replsub.dll 2005.90.2223.0 528,240 19-Feb-2007 23:51 x64
Spresolv.dll 2005.90.2223.0 225,648 19-Feb-2007 23:51 x64
Sqlaccess.dll 2005.90.2223.0 357,744 19-Feb-2007 23:51 x86
Sqlagent90.exe 2005.90.2223.0 392,560 19-Feb-2007 23:51 x64
Sqlservr.exe 2005.90.2223.0 39,268,208 19-Feb-2007 23:51 x64
Sysdbupg.sql Not applicable 218,486 29-Dec-2006 13:53 Not applicable
Xmlsub.dll 2005.90.2223.0 319,856 19-Feb-2007 23:51 x64
Xpstar90.dll 2005.90.2223.0 543,600 19-Feb-2007 23:51 x64
Xpstar90.rll 2005.90.2223.0 156,016 19-Feb-2007 23:51 x64
SQL Server 2005 hotfix, Itanium architecture versions
File name File version File size Date Time Platform
Bcp.exe 2005.90.2223.0 157,552 20-Feb-2007 01:55 IA-64
Databasemailengine.dll 9.0.2223.0 75,120 20-Feb-2007 01:55 x86
Logread.exe 2005.90.2223.0 1,098,096 20-Feb-2007 01:56 IA-64
Microsoft.analysisservices.adomdclient.dll 9.0.2223.0 546,160 20-Feb-2007 11:47 x86
Microsoft.analysisservices.adomdclient.dll 9.0.2223.0 546,160 20-Feb-2007 01:56 x86
Microsoft.analysisservices.deploymentengine.dll 9.0.2223.0 140,656 20-Feb-2007 11:47 x86
Microsoft.analysisservices.dll 9.0.2223.0 1,217,904 20-Feb-2007 11:47 x86
Microsoft.sqlserver.mgdsqldumper.dll 2005.90.2223.0 78,192 20-Feb-2007 11:47 x86
Microsoft.sqlserver.mgdsqldumper.dll 2005.90.2223.0 165,744 20-Feb-2007 01:56 IA-64
Microsoft.sqlserver.sqlenum.dll 9.0.2223.0 877,936 20-Feb-2007 01:56 x86
Msasxpress.dll 9.0.2223.0 24,944 20-Feb-2007 11:47 x86
Msasxpress.dll 9.0.2223.0 57,712 20-Feb-2007 01:56 IA-64
Msgprox.dll 2005.90.2223.0 545,136 20-Feb-2007 01:56 IA-64
Msmdlocal.dll 9.0.2223.0 48,718,704 20-Feb-2007 01:56 IA-64
Msmdredir.dll 9.0.2223.0 6,249,328 20-Feb-2007 01:56 IA-64
Mssqlsystemresource.ldf Not applicable 524,288 19-Feb-2007 21:32 Not applicable
Mssqlsystemresource.mdf Not applicable 40,108,032 19-Feb-2007 21:32 Not applicable
Qrdrsvc.exe 2005.90.2223.0 943,984 20-Feb-2007 01:56 IA-64
Rdistcom.dll 2005.90.2223.0 1,884,016 20-Feb-2007 01:56 IA-64
Repldp.dll 2005.90.2223.0 187,248 20-Feb-2007 11:47 x86
Repldp.dll 2005.90.2223.0 511,344 20-Feb-2007 01:56 IA-64
Replmerg.exe 2005.90.2223.0 957,296 20-Feb-2007 01:56 IA-64
Replprov.dll 2005.90.2223.0 1,619,824 20-Feb-2007 01:56 IA-64
Replrec.dll 2005.90.2223.0 2,144,112 20-Feb-2007 01:56 IA-64
Replsub.dll 2005.90.2223.0 1,159,536 20-Feb-2007 01:56 IA-64
Spresolv.dll 2005.90.2223.0 498,032 20-Feb-2007 01:56 IA-64
Sqlaccess.dll 2005.90.2223.0 352,112 20-Feb-2007 01:56 x86
Sqlagent90.exe 2005.90.2223.0 1,143,664 20-Feb-2007 01:56 IA-64
Sqlservr.exe 2005.90.2223.0 72,190,832 20-Feb-2007 01:56 IA-64
Sysdbupg.sql Not applicable 218,486 29-Dec-2006 13:53 Not applicable
Xmlsub.dll 2005.90.2223.0 593,264 20-Feb-2007 01:56 IA-64
Xpstar90.dll 2005.90.2223.0 953,712 20-Feb-2007 01:56 IA-64
Xpstar90.rll 2005.90.2223.0 154,992 20-Feb-2007 01:56 IA-64


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 software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:

824684 Description of the standard terminology that is used to describe Microsoft software updates


Keywords: kbfix kbqfe kbpubtypekc kbhotfixserver kbsql2005engine kbsql2005tsql KB932393