FIX: The SQL Server 2000 automatic database recovery operation may not succeed if an index contains a FLOAT data type or a REAL data type, and this data type contains a NaN value

This article has been archived. It is offered "as is" and will no longer be updated.
Microsoft distributes SQL Server 2000 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 2000 fix release.
Summary
This article describes the following about this hotfix release:
  • The issues that are fixed by the hotfix package
  • The prerequisites for applying the hotfix package
  • Whether you must restart the computer after you apply the hotfix package
  • Whether the hotfix package is replaced by any other hotfix package
  • Whether you must make any registry changes after you apply the hotfix package
  • The files that are contained in the hotfix package
Symptoms
When you start Microsoft SQL Server 2000, the SQL Server 2000 automatic database recovery mechanism verifies the consistency of each database.

If an index contains a FLOAT data type or a REAL data type, and this data type contains a not-a-number (NaN) value, the SQL Server 2000 automatic database recovery operation may not succeed. In this situation, the database becomes unavailable for user access.
Resolution
For a list of all publicly released SQL Server 2000 Post-Service Pack 3a hotfixes, see the following article in the Microsoft Knowledge Base:
810185 SQL Server 2000 hotfix update for SQL Server 2000 Service Pack 3 and 3a
Note This hotfix is available for SQL Server 2000 Service Pack 3 and for SQL Server 2000 Service Pack 4.

Note The hotfix prevents insertion and update of a real type column or of a float type column that is indexed and that contains a NaN value. The hotfix will not fix the problem if you have already experienced it. In this case, the hotfix does not work because it is not possible to sort all NaN values.

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 this specific problem.

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, submit a request to 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

  • Microsoft SQL Server 2000 Service Pack 3 (SP3) version of this hotfix requires SP3 and baseline hotfix 8.00.1007.
  • Microsoft SQL Server 2000 Service Pack 4 (SP4) version of this hotfix requires SP4.

For more information about how to obtain SQL Server 2000 Service Pack 3 and SQL Server 2000 Service Pack 4, click the following article number to view the article in the Microsoft Knowledge Base:
290211 How to obtain the latest SQL Server 2000 service pack

Restart information

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

Registry information

You do not have to make any registry changes after you apply this hotfix.

Hotfix file information

This hotfix contains only those files that are required to correct the problem that this article discusses. 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 tool in Control Panel.
SQL Server 2000 Service Pack 3 32-bit versions
   Date         Time   Version            Size    File name   --------------------------------------------------------------   15-Apr-2005  01:07  6.1.9.0            15,872  Spupdsvc.exe   31-May-2005  22:58                      3,842  Tempcatsign.cdf   31-May-2005  22:41  2000.80.1027.0    664,128  Autoplt.dll   31-May-2005  22:41  2000.80.1027.0     78,400  Console.exe   31-May-2005  22:41  2000.80.1027.0    332,352  Ctasksui.dll   31-May-2005  22:41  2000.80.1027.0    315,968  Custtask.dll   31-May-2005  22:41  2000.80.1027.0     33,340  Dbmslpcn.dll   15-Apr-2005  01:17                    786,432  Distmdl.ldf   15-Apr-2005  01:17                  2,359,296  Distmdl.mdf   15-Apr-2005  01:17                        180  Drop_repl_hotfix.sql   31-May-2005  22:41  2000.80.1027.0  1,905,216  Dtspkg.dll   31-May-2005  22:41  2000.80.1027.0    528,960  Dtspump.dll   31-May-2005  22:41  2000.80.1027.0  1,557,052  Dtsui.dll   31-May-2005  22:41  2000.80.1027.0    639,552  Dtswiz.dll   31-May-2005  22:41  2000.80.1027.0    102,992  Impprov.dll   15-Apr-2005  01:17                    747,927  Instdist.sql   15-Apr-2005  01:17                      1,581  Inst_repl_hotfix.sql   31-May-2005  22:41  2000.80.1027.0    352,828  Isqlw.exe   31-May-2005  22:41  2000.80.1027.0     82,492  Itwiz.exe   31-May-2005  22:41  2000.80.1027.0     90,692  Msgprox.dll   15-Apr-2005  00:59  8.11.41022.0      226,304  Mssdi98.dll   31-May-2005  22:41  2000.80.1027.0     62,024  Odsole70.dll   31-May-2005  22:42  2000.80.1027.0     25,144  Opends60.dll   31-May-2005  22:41  2000.80.1027.0     57,904  Osql.exe   31-May-2005  22:41  2000.80.1027.0    279,104  Pfutil80.dll   15-Apr-2005  01:13                    551,012  Procsyst.sql   15-Apr-2005  01:17                     12,305  Qfe469315.sql   15-Apr-2005  01:17                     19,195  Qfe469571.sql   15-Apr-2005  01:17                      5,157  Qfe472197.sql   31-May-2005  22:41  2000.80.1027.0    143,940  Qrdrsvc.exe   31-May-2005  21:38                  1,136,160  Replmerg.sql   31-May-2005  22:41  2000.80.1027.0    221,768  Replprov.dll   31-May-2005  22:41  2000.80.1027.0    307,784  Replrec.dll   31-May-2005  21:40  2000.80.1027.0    159,813  Replres.rll   15-Apr-2005  01:17                  1,088,240  Replsys.sql   15-Apr-2005  01:17                    986,746  Repltran.sql   15-Apr-2005  01:17                         55  Repl_uninstall.sql   31-May-2005  22:41  2000.80.1027.0    287,304  Rinitcom.dll   31-May-2005  22:41  2000.80.1027.0     78,416  Sdiclnt.dll   31-May-2005  22:41  2000.80.1027.0    823,872  Semexec.dll   31-May-2005  22:41  2000.80.1027.0     66,112  Semmap.dll   31-May-2005  22:41  2000.80.1027.0     57,916  Semnt.dll   31-May-2005  22:41  2000.80.1027.0    492,096  Semobj.dll   31-May-2005  22:05  2000.80.1027.0    172,032  Semobj.rll   31-May-2005  22:41  2000.80.1027.0     53,832  Snapshot.exe   15-Apr-2005  01:13                    125,540  Sp3_serv_uni.sql   31-May-2005  22:40  2000.80.1027.0     28,672  Sqlagent.dll   31-May-2005  22:41  2000.80.1027.0    311,872  Sqlagent.exe   31-May-2005  22:40  2000.80.1027.0    168,001  Sqlakw32.dll   31-May-2005  22:41  2000.80.1027.0     33,344  Sqlctr80.dll   31-May-2005  22:41  2000.80.1027.0  4,215,360  Sqldmo.dll   31-May-2005  22:41                     25,172  Sqldumper.exe   31-May-2005  21:38  2000.80.1027.0     28,672  Sqlevn70.rll   31-May-2005  22:41  2000.80.1027.0    156,224  Sqlmaint.exe   31-May-2005  22:41  2000.80.1027.0    180,792  Sqlmap70.dll   31-May-2005  22:41  2000.80.1027.0    188,992  Sqlmmc.dll   31-May-2005  21:52  2000.80.1027.0    479,232  Sqlmmc.rll   31-May-2005  22:41  2000.80.1027.0    401,984  Sqlqry.dll   31-May-2005  22:41  2000.80.1027.0     57,920  Sqlrepss.dll   31-May-2005  22:41  2000.80.1027.0  7,721,041  Sqlservr.exe   31-May-2005  22:41  2000.80.1027.0    590,396  Sqlsort.dll   31-May-2005  22:41  2000.80.1027.0     45,644  Sqlvdi.dll   31-May-2005  22:41  2000.80.1027.0    106,588  Sqsrvres.dll   31-May-2005  22:41  2000.80.1027.0     33,340  Ssmsgnet.dll   31-May-2005  22:41  2000.80.1027.0     33,340  Ssmslpcn.dll   31-May-2005  22:41  2000.80.1027.0     33,340  Ssmsqlgc.dll   31-May-2005  22:41  2000.80.1027.0     82,492  Ssnetlib.dll   31-May-2005  22:41  2000.80.1027.0     25,148  Ssnmpn70.dll   31-May-2005  22:41  2000.80.1027.0    123,456  Stardds.dll   31-May-2005  22:41  2000.80.1027.0    158,268  Svrnetcn.dll   31-May-2005  22:41  2000.80.1027.0     76,416  Svrnetcn.exe   31-May-2005  22:41  2000.80.1027.0     49,228  Ums.dll   31-May-2005  22:41  2000.80.1027.0     74,304  Xplog70.dll   31-May-2005  22:41  2000.80.1027.0     98,872  Xpweb70.dll   31-May-2005  22:41  2000.80.1027.0     57,904  Osql.exe   15-Apr-2005  01:07  1.0.97.0          941,056  Sqlstpcustomdll.dll   15-Apr-2005  01:07                     23,040  Sqlstpcustomdll.rll   15-Apr-2005  01:07  6.1.9.0           344,576  Updspapi.dll
SQL Server 2000 Service Pack 3 64-bit version
   Date         Time   Version         Size        File name      Platform   -----------------------------------------------------------------------   31-May-2005  22:49  2000.80.1027.0      56,832  Dbmslpcn.dll   IA-64   31-May-2005  21:52  2000.80.1027.0     528,960  Dtspump.dll    x86   31-May-2005  21:55  2000.80.1027.0     244,736  Impprov.dll    IA-64   31-May-2005  22:54  2000.80.1027.0     185,856  Msgprox.dll    IA-64   31-May-2005  22:52  2000.80.1027.0     150,528  Odsole70.dll   IA-64   31-May-2005  22:49  2000.80.1027.0      27,136  Opends60.dll   IA-64   31-May-2005  22:52                      19,880  Opends60.lib   31-May-2005  22:51  2000.80.1027.0     148,992  Osql.exe       IA-64   31-May-2005  21:57  2000.80.1027.0     353,280  Qrdrsvc.exe    IA-64   31-May-2005  23:01  2000.80.1027.0     535,552  Replprov.dll   IA-64   31-May-2005  23:03  2000.80.1027.0     769,024  Replrec.dll    IA-64   31-May-2005  23:09  2000.80.1027.0     650,240  Rinitcom.dll   IA-64   31-May-2005  23:04  2000.80.1027.0     160,768  Semmap.dll     IA-64   31-May-2005  23:04  2000.80.1027.0     132,608  Semnt.dll      IA-64   31-May-2005  22:57  2000.80.1027.0      88,576  Snapshot.exe   IA-64   31-May-2005  23:08  2000.80.1027.0      10,240  Sqlagent.dll   IA-64   31-May-2005  23:10  2000.80.1027.0   1,055,232  Sqlagent.exe   IA-64   31-May-2005  23:05  2000.80.1027.0      90,112  Sqlboot.dll    IA-64   01-Jun-2005  01:45  2000.80.1027.0      32,256  Sqlctr80.dll   IA-64   31-May-2005  22:50  2000.80.1027.0     812,032  Sqldata.dll    IA-64   31-May-2005  23:27  2000.80.1027.0  13,845,504  Sqldmo.dll     IA-64   31-May-2005  22:55                      39,936  Sqldumper.exe  IA-64   31-May-2005  23:16  2000.80.1027.0     493,568  Sqlmaint.exe   IA-64   31-May-2005  22:50  2000.80.1027.0      23,040  Sqlmap70.dll   IA-64   31-May-2005  23:03  2000.80.1027.0     152,064  Sqlrepss.dll   IA-64   01-Jun-2005  01:45  2000.80.1027.0  30,138,880  Sqlservr.exe   IA-64   31-May-2005  22:50  2000.80.1027.0     616,960  Sqlsort.dll    IA-64   31-May-2005  22:55  2000.80.1027.0     120,320  Sqlvdi.dll     IA-64   31-May-2005  22:55  2000.80.1027.0     227,328  Sqsrvres.dll   IA-64   31-May-2005  22:49  2000.80.1027.0      53,760  Ssmslpcn.dll   IA-64   31-May-2005  23:03  2000.80.1027.0      59,904  Ssmsqlgc.dll   IA-64   31-May-2005  22:50  2000.80.1027.0     256,000  Ssnetlib.dll   IA-64   31-May-2005  22:51  2000.80.1027.0      20,992  Ssnmpn70.dll   IA-64   31-May-2005  23:00  2000.80.1027.0     430,080  Svrnetcn.dll   IA-64   31-May-2005  23:00  2000.80.1027.0     185,856  Svrnetcn.exe   IA-64   31-May-2005  22:51  2000.80.1027.0     183,296  Xplog70.dll    IA-64   31-May-2005  22:57  2000.80.1027.0     187,392  Xpweb70.dll    IA-64   31-May-2005  22:55  2000.80.1027.0     146,432  Replres.rll   31-May-2005  23:08  2000.80.1027.0      41,984  Sqlagent.rll   31-May-2005  23:08  2000.80.1027.0     574,976  Sqldmo.rll   31-May-2005  22:51  2000.80.1027.0      19,968  Sqlevn70.rll   31-May-2005  23:05  2000.80.1027.0       4,096  Sqlrepss.rll   31-May-2005  23:00  2000.80.1027.0      15,872  Svrnetcn.rll

Note Because of file dependencies, the most recent hotfix or feature that contains these files may also contain additional files.
Workaround
To work around this problem, use one of the following methods.

Method 1

  1. Perform NaN validation checks in client applications when you use remote procedure calls (RPCs). Make sure that NaN values are not passed to SQL Server 2000.
  2. Check existing data rows that contain the FLOAT data type or the REAL data type. Look for NaN values. To do this, run the following query:
    SELECT <unique column list>, CONVERT(varchar(30),<float column or real column1>) FROM <table name> WHERE ISNUMERIC(<float column or real column>) = 0
    In this query:
    • Replace <unique column list> with a list of one or more column names that are separated by commas to uniquely identify the row in the particular table.
    • Replace <table name> with the name of the table that you want to search.
    • Replace <float column or real column> with the name of the column.

Method 2

Do not create indexes that are based on FLOAT columns or on REAL columns.

Method 3

If you can use a precise numeric type in your environment, change the data type of the real or of the float column to the numeric type or the decimal type.
Status
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
More information
You can also insert NaN values by using a bulk copy operation. However, in this situation, certain language events such as INSERT statements report an invalid floating point number and do not insert the row.

The following list contains some examples of NaN values:
  • Positive infinity
  • Negative infinity
  • Zero divided by zero (0/0)
  • Quiet NaNs (QNaN)
  • Signaling NaNs (SNaN)
For more information about NaNs, see the Intel Architecture Software Developer's Manual. To obtain this manual, visit the following Intel Web site:Microsoft provides third-party contact information to help you find technical support. This contact information may change without notice. Microsoft does not guarantee the accuracy of this third-party contact information.

For more information about the naming schema for Microsoft SQL Server updates, click the following article number to view the article in the Microsoft Knowledge Base:
822499 New naming schema for Microsoft SQL Server software update packages
For more information about the terminology that Microsoft uses when correcting software after it is released, 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
float real
Properties

Article ID: 900335 - Last Review: 01/17/2015 10:55:00 - Revision: 4.0

  • Microsoft SQL Server 2000 Developer Edition
  • Microsoft SQL Server 2000 Enterprise Edition
  • Microsoft SQL Server 2000 Personal Edition
  • Microsoft SQL Server 2000 Standard Edition
  • Microsoft SQL Server 2000 Workgroup Edition
  • kbnosurvey kbarchive kbautohotfix kbsqlserv2000presp4fix kbfix kbbug kbhotfixserver kbqfe KB900335
Feedback