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.
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)
A code change in SQL Server 2005 SP1 causes an incorrect cardinality estimate for the CASE function. This behavior causes an inefficient execution plan.
A supported hotfix is 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 software update that contains this hotfix.
If the hotfix is available for download, there is a "Hotfix download available" section at the top of this Knowledge Base article. If this section does not appear, contact Microsoft Customer Service and Support to obtain the hotfix.
Note If additional issues occur or if 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. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft Web site:
Note The "Hotfix download available" form displays the languages for which the hotfix is available. If you do not see your language, it is because a hotfix is not available for that language.
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:
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
Collapse this tableExpand this table
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
Collapse this tableExpand this table
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