Article ID: 971409 - Last Review: August 24, 2009 - Revision: 2.0
FIX: Error message when you run a query that contains duplicate join conditions in SQL Server 2005: "Internal Query Processor Error: The query processor could not produce a query plan"
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 run a query that uses joins.
You specify duplicate join conditions in the FROM clause and the WHERE clause.
When you run the query, you may receive the following error message:
Msg 8624, Level 16, State 1, Line 31
Internal Query Processor Error: The query processor could not produce a query plan. For more information, contact Customer Support Services.
Note You can run the same query successfully in SQL Server 2000 and in SQL Server 2008.
The fix for this issue was first released in Cumulative Update 4 for SQL Server 2005 Service Pack 3. For more information about this cumulative update package, click the following article number to view the article in the Microsoft Knowledge Base:
970279
(http://support.microsoft.com/kb/970279
/LN/
)
Cumulative update package 4 for SQL Server 2005 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 2005 fix release. Microsoft recommends 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:
960598
(http://support.microsoft.com/kb/960598/LN/
)
The SQL Server 2005 builds that were released after SQL Server 2005 Service Pack 3 was released
Microsoft SQL Server 2005 hotfixes are created for specific SQL Server service packs. You must apply a SQL Server 2005 Service Pack 3 hotfix to an installation of SQL Server 2005 Service Pack 3. By default, any hotfix that is provided in a SQL Server service pack is included in the next SQL Server service pack.
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 the problem described in this article. 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
SQL Server 2005 Service Pack 3
For more information about how to obtain SQL Server 2005 Service Pack 3, click the following article number to view the article in the Microsoft Knowledge Base:
913089
(http://support.microsoft.com/kb/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.
Registry information
You do not have to change the registry.
Hotfix file information
This hotfix contains only those files that are required to correct the issues that this article lists. This hotfix may not contain of all the files that you must have to fully update a product to the latest build.
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.
For all supported x86-based versions of SQL Server 2005
Collapse this tableExpand this table
File name
File version
File size
Date
Time
Platform
Chsbrkr.dll
12.0.9729.0
1,682,288
29-Jan-2009
03:04
x86
Chtbrkr.dll
12.0.9729.0
6,110,064
29-Jan-2009
03:04
x86
Distrib.exe
2005.90.4224.0
67,432
15-May-2009
23:03
x86
Dtspipeline.dll
2005.90.4224.0
601,960
15-May-2009
23:03
x86
Dtspipelineperf.dll
2005.90.4224.0
30,056
15-May-2009
23:03
x86
Fteref.dll
12.0.9729.0
446,464
29-Jan-2009
03:04
x86
Infosoft.dll
12.0.9729.0
465,760
29-Jan-2009
03:04
x86
Korwbrkr.dll
12.0.9729.0
68,448
29-Jan-2009
03:04
x86
Langwrbk.dll
12.0.9729.0
133,984
29-Jan-2009
03:04
x86
Logread.exe
2005.90.4224.0
399,192
15-May-2009
23:07
x86
Microsoft.sqlserver.maintenanceplantasks.dll
9.0.4224.0
292,696
15-May-2009
23:07
x86
Microsoft.sqlserver.replication.dll
2005.90.4224.0
1,625,432
15-May-2009
23:07
x86
Microsoft.sqlserver.smo.dll
9.0.4224.0
1,603,416
15-May-2009
23:08
x86
Microsoft.sqlserver.smoenum.dll
9.0.4224.0
218,984
15-May-2009
23:08
x86
Microsoft.sqlserver.sqlenum.dll
9.0.4224.0
919,400
15-May-2009
23:08
x86
Microsoft.sqlserver.webservicetask.dll
9.0.4224.0
96,088
15-May-2009
23:08
x86
Msfte.dll
12.0.9729.0
2,427,760
29-Jan-2009
03:04
x86
Msftefd.exe
12.0.9729.0
64,352
29-Jan-2009
03:04
x86
Msftepxy.dll
12.0.9729.0
93,040
29-Jan-2009
03:04
x86
Msftesql.exe
12.0.9729.0
93,040
29-Jan-2009
03:04
x86
Msgprox.dll
2005.90.4224.0
196,968
15-May-2009
23:08
x86
Msir5jp.dll
5.0.2130.0
3,157,344
29-Jan-2009
03:04
x86
Mssqlsystemresource.ldf
Not Applicable
524,288
15-May-2009
20:03
Not Applicable
Mssqlsystemresource.mdf
Not Applicable
40,304,640
15-May-2009
20:03
Not Applicable
Nlhtml.dll
12.0.9729.0
121,696
29-Jan-2009
03:04
x86
Nls400.dll
5.0.7112.0
12,287,328
29-Jan-2009
03:04
x86
Query9x.dll
12.0.9729.0
45,936
29-Jan-2009
03:04
x86
Rdistcom.dll
2005.90.4224.0
644,456
15-May-2009
23:08
x86
Repldp.dll
2005.90.4224.0
185,176
15-May-2009
23:08
x86
Replmerg.exe
2005.90.4224.0
317,784
15-May-2009
23:08
x86
Replprov.dll
2005.90.4224.0
551,256
15-May-2009
23:08
x86
Replrec.dll
2005.90.4224.0
782,680
15-May-2009
23:08
x86
Replsub.dll
2005.90.4224.0
405,352
15-May-2009
23:08
x86
Sbmsmdlocal.dll
9.0.4224.0
15,982,440
15-May-2009
23:08
x86
Snapshot.exe
9.0.4224.0
11,096
15-May-2009
23:10
x86
Sqlaccess.dll
2005.90.4224.0
346,984
15-May-2009
23:10
x86
Sqlagent90.exe
2005.90.4224.0
345,960
15-May-2009
23:10
x86
Sqlatxss90.dll
2005.90.4224.0
23,400
15-May-2009
23:02
x86
Sqlmergx.dll
2005.90.4224.0
191,320
15-May-2009
23:10
x86
Sqlservr.exe
2005.90.4224.0
29,275,480
15-May-2009
23:10
x86
Sqltaskconnections.dll
2005.90.4224.0
104,296
15-May-2009
23:10
x86
Sqlwep.dll
2005.90.4224.0
87,384
15-May-2009
23:10
x86
Thawbrkr.dll
12.0.9729.0
203,616
29-Jan-2009
03:04
x86
Xmlfilt.dll
12.0.9729.0
195,440
29-Jan-2009
03:04
x86
Xmlsub.dll
2005.90.4224.0
192,360
15-May-2009
23:10
x86
For all supported x64-based versions of SQL Server 2005
Collapse this tableExpand this table
File name
File version
File size
Date
Time
Platform
Chsbrkr.dll
12.0.9729.0
1,691,488
29-Jan-2009
04:57
x64
Chtbrkr.dll
12.0.9729.0
6,106,992
29-Jan-2009
04:57
x64
Distrib.exe
2005.90.4224.0
83,304
16-May-2009
00:42
x64
Dtspipeline.dll
2005.90.4224.0
1,065,816
16-May-2009
00:42
x64
Dtspipelineperf.dll
2005.90.4224.0
40,808
16-May-2009
00:42
x64
Fteref.dll
12.0.9729.0
433,152
29-Jan-2009
04:57
x64
Infosoft.dll
12.0.9729.0
618,864
29-Jan-2009
04:57
x64
Korwbrkr.dll
12.0.9729.0
99,168
29-Jan-2009
04:57
x64
Langwrbk.dll
12.0.9729.0
234,336
29-Jan-2009
04:57
x64
Logread.exe
2005.90.4224.0
525,160
16-May-2009
00:46
x64
Microsoft.sqlserver.maintenanceplantasks.dll
9.0.4224.0
292,696
15-May-2009
23:07
x86
Microsoft.sqlserver.replication.dll
2005.90.4224.0
1,816,424
16-May-2009
00:46
x64
Microsoft.sqlserver.smo.dll
9.0.4224.0
1,603,432
16-May-2009
00:46
x86
Microsoft.sqlserver.smoenum.dll
9.0.4224.0
218,984
16-May-2009
00:46
x86
Microsoft.sqlserver.sqlenum.dll
9.0.4224.0
919,400
16-May-2009
00:46
x86
Microsoft.sqlserver.webservicetask.dll
9.0.4224.0
96,104
16-May-2009
00:46
x86
Msfte.dll
12.0.9729.0
3,805,552
29-Jan-2009
04:57
x64
Msftefd.exe
12.0.9729.0
96,624
29-Jan-2009
04:57
x64
Msftepxy.dll
12.0.9729.0
124,768
29-Jan-2009
04:57
x64
Msftesql.exe
12.0.9729.0
156,016
29-Jan-2009
04:57
x64
Msgprox.dll
2005.90.4224.0
258,920
16-May-2009
00:46
x64
Msir5jp.dll
5.0.2130.0
3,418,992
29-Jan-2009
04:57
x64
Mssqlsystemresource.ldf
Not Applicable
524,288
15-May-2009
20:03
Not Applicable
Mssqlsystemresource.mdf
Not Applicable
40,304,640
15-May-2009
20:03
Not
Applicable
Nlhtml.dll
12.0.9729.0
189,280
29-Jan-2009
04:57
x64
Nls400.dll
5.0.7112.0
14,101,872
29-Jan-2009
04:57
x64
Query9x.dll
12.0.9729.0
65,904
29-Jan-2009
04:57
x64
Rdistcom.dll
2005.90.4224.0
821,096
16-May-2009
00:47
x64
Repldp.dll
2005.90.4224.0
185,176
15-May-2009
23:08
x86
Repldp.dll
2005.90.4224.0
236,904
16-May-2009
00:47
x64
Replmerg.exe
2005.90.4224.0
414,568
16-May-2009
00:47
x64
Replprov.dll
2005.90.4224.0
750,952
16-May-2009
00:47
x64
Replrec.dll
2005.90.4224.0
1,010,536
16-May-2009
00:47
x64
Replsub.dll
2005.90.4224.0
508,776
16-May-2009
00:47
x64
Sbmsmdlocal.dll
9.0.4224.0
15,982,440
15-May-2009
23:08
x86
Snapshot.exe
9.0.4224.0
11,096
15-May-2009
23:10
x86
Snapshot.exe
9.0.4224.0
11,112
16-May-2009
00:47
x86
Sqlaccess.dll
2005.90.4224.0
354,152
16-May-2009
00:47
x86
Sqlagent90.exe
2005.90.4224.0
425,320
16-May-2009
00:47
x64
Sqlatxss90.dll
2005.90.4224.0
29,032
16-May-2009
00:42
x64
Sqlmergx.dll
2005.90.4224.0
233,832
16-May-2009
00:48
x64
Sqlservr.exe
2005.90.4224.0
39,734,120
16-May-2009
00:48
x64
Sqltaskconnections.dll
2005.90.4224.0
150,376
16-May-2009
00:48
x64
Sqlwep.dll
2005.90.4224.0
87,384
15-May-2009
23:10
x86
Sqlwep.dll
2005.90.4224.0
120,168
16-May-2009
00:48
x64
Thawbrkr.dll
12.0.9729.0
207,216
29-Jan-2009
04:57
x64
Xmlfilt.dll
12.0.9729.0
267,632
29-Jan-2009
04:57
x64
Xmlsub.dll
2005.90.4224.0
335,192
16-May-2009
00:48
x64
For all supported Itanium-based versions of SQL Server 2005
For more information about the list of builds that are available after SQL Server 2005 Service Pack 3, click the following article number to view the article in the Microsoft Knowledge Base:
960598
(http://support.microsoft.com/kb/960598/
)
The SQL Server 2005 builds that were released after SQL Server 2005 Service Pack 3 was released
For more information about the Incremental Servicing Model for SQL Server, click the following article number to view the article in the Microsoft Knowledge Base:
935897
(http://support.microsoft.com/kb/935897/
)
An Incremental Servicing Model is available from the SQL Server team to deliver hotfixes for reported problems
For more information about how to obtain SQL Server 2005 Service Pack 3, click the following article number to view the article in the Microsoft Knowledge Base:
913089
(http://support.microsoft.com/kb/913089/
)
How to obtain the latest service pack for SQL Server 2005
For more information about the new features and the new improvements in SQL Server 2005 Service Pack 3, visit the following Microsoft Web site:
For more information about the naming schema for SQL Server updates, click the following article number to view the article in the Microsoft Knowledge Base:
822499
(http://support.microsoft.com/kb/822499/
)
New naming schema for Microsoft SQL Server software update packages
For more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:
824684
(http://support.microsoft.com/kb/824684/
)
Description of the standard terminology that is used to describe Microsoft software updates