Article ID: 814893 - View products that this article applies to.
CPR - SQL 2000 - Hotfix in SP4
BUG #: 364087 (SHILOH_BUGS)
After you apply one of the following
Insufficient key column information for updating or refreshing.
Service pack informationTo resolve this problem, obtain the latest service pack for Microsoft SQL Server 2000. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:
(http://support.microsoft.com/kb/290211/ )How to obtain the latest SQL Server 2000 service pack
Hotfix informationThe 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 tool in Control Panel.
Note Because of file dependencies, the most recent hotfix or feature that contains the files may also contain additional files.
Date Time Version Size File name ------------------------------------------------------------------ 08-Feb-2003 05:43 786,432 bytes Distmdl.ldf 08-Feb-2003 05:43 2,359,296 bytes Distmdl.mdf 01-Feb-2003 00:32 2000.80.763.0 1,557,052 bytes Dtsui.dll 30-Jan-2003 05:18 746,470 bytes Instdist.sql 08-Feb-2003 06:40 2000.80.765.0 90,692 bytes Msgprox.dll 08-Feb-2003 03:53 1,065,895 bytes Replmerg.sql 08-Feb-2003 06:40 2000.80.765.0 221,768 bytes Replprov.dll 08-Feb-2003 06:40 2000.80.765.0 307,784 bytes Replrec.dll 30-Jan-2003 05:18 1,084,318 bytes Replsys.sql 08-Feb-2003 06:40 2000.80.765.0 176,696 bytes Sqlmap70.dll 08-Feb-2003 06:40 2000.80.765.0 57,920 bytes Sqlrepss.dll 15-Feb-2003 02:52 2000.80.769.0 7,512,145 bytes Sqlservr.exe 15-Feb-2003 02:52 12,715,008 bytes Sqlservr.pdb 08-Feb-2003 06:40 2000.80.765.0 45,644 bytes Sqlvdi.dll 08-Feb-2003 06:40 2000.80.765.0 82,492 bytes Ssnetlib.dll
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.This problem was first corrected in Microsoft SQL Server 2000 Service Pack 4.
The hotfix discussed in this article regresses the fix that is discussed in the following Microsoft Knowledge Base article:
(http://support.microsoft.com/kb/321541/ )FIX: SQL Server Might Return Incorrect Results When You Use an Outer Join and a View
Note To make the hotfix discussed in this article operational, you must enable trace flag -T220, and restart SQL Server.
To enable the trace flag, follow these steps:
An example of the problem and what the trace flag -T220 does follows.
The example uses two sample tables named Test_Table1 and Test_Table2. Consider the following tables and view:
Now, run this code: