Mentioned
In
|
 |
 |
 |
 |
Microsoft Knowledge Base Article
This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms
of Use |
Trademarks
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. Cumulative update information
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://kbalertz.com/Feedback.aspx?kbNumber=970279
/
)
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://kbalertz.com/Feedback.aspx?kbNumber=960598/
)
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.
Hotfix information 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://kbalertz.com/Feedback.aspx?kbNumber=913089/
)
How to obtain the latest service pack for SQL Server 2005
Restart informationYou do not have to restart the computer after you apply this hotfix. Registry informationYou do not have to change the registry. Hotfix file informationThis 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 2005Collapse 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 2005Collapse 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 2005Collapse this tableExpand this table | File name | File version | File size | Date | Time | Platform |
|---|
| Chsbrkr.dll | 12.0.9729.0 | 1,880,944 | 29-Jan-2009 | 03:56 | IA-64 | | Chtbrkr.dll | 12.0.9729.0 | 6,152,048 | 29-Jan-2009 | 03:56 | IA-64 | | Distrib.exe | 2005.90.4224.0 | 197,464 | 16-May-2009 | 03:22 | IA-64 | | Dtspipeline.dll | 2005.90.4224.0 | 1,930,088 | 16-May-2009 | 03:22 | IA-64 | | Dtspipelineperf.dll | 2005.90.4224.0 | 81,768 | 16-May-2009 | 03:22 | IA-64 | | Fteref.dll | 12.0.9729.0 | 433,152 | 29-Jan-2009 | 03:57 | IA-64 | | Infosoft.dll | 12.0.9729.0 | 1,912,688 | 29-Jan-2009 | 03:56 | IA-64 | | Korwbrkr.dll | 12.0.9729.0 | 180,080 | 29-Jan-2009 | 03:56 | IA-64 | | Langwrbk.dll | 12.0.9729.0 | 330,608 | 29-Jan-2009 | 03:56 | IA-64 | | Logread.exe | 2005.90.4224.0 | 1,100,136 | 16-May-2009 | 03:26 | IA-64 | | Microsoft.sqlserver.maintenanceplantasks.dll | 9.0.4224.0 | 292,696 | 15-May-2009 | 23:07 | x86 | | Microsoft.sqlserver.replication.dll | 2005.90.4224.0 | 2,530,664 | 16-May-2009 | 03:26 | IA-64 | | Microsoft.sqlserver.smo.dll | 9.0.4224.0 | 1,603,432 | 16-May-2009 | 03:26 | x86 | | Microsoft.sqlserver.smoenum.dll | 9.0.4224.0 | 218,984 | 16-May-2009 | 03:26 | x86 | | Microsoft.sqlserver.sqlenum.dll | 9.0.4224.0 | 919,400 | 16-May-2009 | 03:26 | x86 | | Microsoft.sqlserver.webservicetask.dll | 9.0.4224.0 | 96,104 | 16-May-2009 | 03:26 | x86 | | Msfte.dll | 12.0.9729.0 | 7,069,552 | 29-Jan-2009 | 03:56 | IA-64 | | Msftefd.exe | 12.0.9729.0 | 170,848 | 29-Jan-2009 | 03:56 | IA-64 | | Msftepxy.dll | 12.0.9729.0 | 132,976 | 29-Jan-2009 | 03:56 | IA-64 | | Msftesql.exe | 12.0.9729.0 | 292,192 | 29-Jan-2009 | 03:56 | IA-64 | | Msgprox.dll | 2005.90.4224.0 | 542,056 | 16-May-2009 | 03:26 | IA-64 | | Msir5jp.dll | 5.0.2130.0 | 3,821,936 | 29-Jan-2009 | 03:57 | IA-64 | | 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 | 293,232 | 29-Jan-2009 | 03:57 | IA-64 | | Nls400.dll | 5.0.7112.0 | 14,747,504 | 29-Jan-2009 | 03:57 | IA-64 | | Query9x.dll | 12.0.9729.0 | 120,672 | 29-Jan-2009 | 03:57 | IA-64 | | Rdistcom.dll | 2005.90.4224.0 | 1,888,088 | 16-May-2009 | 03:27 | IA-64 | | Repldp.dll | 2005.90.4224.0 | 185,176 | 15-May-2009 | 23:08 | x86 | | Repldp.dll | 2005.90.4224.0 | 512,344 | 16-May-2009 | 03:27 | IA-64 | | Replmerg.exe | 2005.90.4224.0 | 954,728 | 16-May-2009 | 03:27 | IA-64 | | Replprov.dll | 2005.90.4224.0 | 1,627,480 | 16-May-2009 | 03:27 | IA-64 | | Replrec.dll | 2005.90.4224.0 | 2,146,664 | 16-May-2009 | 03:27 | IA-64 | | Replsub.dll | 2005.90.4224.0 | 1,156,952 | 16-May-2009 | 03:27 | IA-64 | | Sbmsmdlocal.dll | 9.0.4224.0 | 50,026,344 | 16-May-2009 | 03:26 | IA-64 | | 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 | 03:28 | x86 | | Sqlaccess.dll | 2005.90.4224.0 | 348,520 | 16-May-2009 | 03:28 | x86 | | Sqlagent90.exe | 2005.90.4224.0 | 1,251,160 | 16-May-2009 | 03:28 | IA-64 | | Sqlatxss90.dll | 2005.90.4224.0 | 56,168 | 16-May-2009 | 03:22 | IA-64 | | Sqlmergx.dll | 2005.90.4224.0 | 443,736 | 16-May-2009 | 03:28 | IA-64 | | Sqlservr.exe | 2005.90.4224.0 | 72,908,136 | 16-May-2009 | 03:28 | IA-64 | | Sqltaskconnections.dll | 2005.90.4224.0 | 314,216 | 16-May-2009 | 03:28 | IA-64 | | Sqlwep.dll | 2005.90.4224.0 | 87,384 | 15-May-2009 | 23:10 | x86 | | Sqlwep.dll | 2005.90.4224.0 | 217,432 | 16-May-2009 | 03:28 | IA-64 | | Thawbrkr.dll | 12.0.9729.0 | 250,720 | 29-Jan-2009 | 03:56 | IA-64 | | Xmlfilt.dll | 12.0.9729.0 | 441,200 | 29-Jan-2009 | 03:57 | IA-64 | | Xmlsub.dll | 2005.90.4224.0 | 578,904 | 16-May-2009 | 03:29 | IA-64 |
To work around this issue, use one of the following methods: - Add the FORCE ORDER hint to the query.
- Remove the redundant join condition from the query.
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
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://kbalertz.com/Feedback.aspx?kbNumber=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://kbalertz.com/Feedback.aspx?kbNumber=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://kbalertz.com/Feedback.aspx?kbNumber=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://kbalertz.com/Feedback.aspx?kbNumber=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://kbalertz.com/Feedback.aspx?kbNumber=824684/
)
Description of the standard terminology that is used to describe Microsoft software updates
APPLIES TO- Microsoft SQL Server 2005 Standard Edition
- Microsoft SQL Server 2005 Developer Edition
- Microsoft SQL Server 2005 Enterprise Edition
- Microsoft SQL Server 2005 Standard X64 Edition
- Microsoft SQL Server 2005 Standard Edition for Itanium-based Systems
- Microsoft SQL Server 2005 Enterprise X64 Edition
- Microsoft SQL Server 2005 Enterprise Edition for Itanium-based Systems
- Microsoft SQL Server 2005 Workgroup Edition
| kbsurveynew kbfix kbqfe kbexpertiseadvanced KB971409 |
Community Feedback System
Very often, it takes hours to solve a problem. Very often, you've looked high
and low, and have tried a lot of solutions. When you finally found it, chances
are, it was because someone else helped you. Here's your chance to give back.
Use our community feedback tool to let others know what worked for you and what
didn't.
Please also understand that the community feedback system is not warranted to be
correct, it's simply a system that we've built to let people try and help each
other. If something in a feedback response doesn't make sense to you, or you're
not comfortable making changes that the feedback talks about (like registry
edits), please consult a professional.
Thank you for using kbAlertz.com Feedback System.
-- Scott Cate
Be the first to leave feedback, to help others about this knowledge base
article.
(Optional) Name
(Optional)
Public URL Or Email
Comments
No
HTML -- Text Only Please
|
 |
 |
 |
 |
 |
 |
 |
| |