BUG: Floating point underflow exceptions may occur with data below the minimum float exponent (273557)
The information in this article applies to:
This article was previously published under Q273557 BUG #: 58359 (SQLBUG_70) SYMPTOMS If the following conditions are all true, Microsoft SQL
Server may store floating point data with an exponent lower than -308, which
may cause floating point underflow exceptions that terminate a clients
connection to SQL Server:
- The client application is using stored procedures or server
side cursors to perform data modification and passes the request to the SQL
Server server as a remote procedure call (RPC) event.
- The client application is passing parameters for the RPC
event to the SQL Server server.
- The column of the table affected by the parameter that is
passed is defined as a float datatype.
- If a stored procedure is called, the parameter is defined
as a float datatype.
WORKAROUND Correct existing data and create a check constraint to
validate the float column data as follows to prevent the minimum exponent from
being stored in the SQL Server server:
CHECK (<column> < -2.23E-308 OR <column> = 0.0 OR <column> > 2.23E-308)
STATUS Microsoft has confirmed this to be a problem in SQL Server
7.0.
This is not an issue in SQL Server 2000.
Modification Type: | Minor | Last Reviewed: | 9/27/2004 |
---|
Keywords: | kbBug kbCodeSnippet kbpending KB273557 |
---|
|