BUG: Convert From FLOAT to NUMERIC Causes Arithmetic Overflow (136532)



The information in this article applies to:

  • Microsoft SQL Server 6.0
  • Microsoft SQL Server 6.5

This article was previously published under Q136532
BUG# NT: 11051 (6.00) BUG# NT: 16776 (6.50)

SYMPTOMS

Explicit conversion from a FLOAT datatype to a NUMERIC datatype can cause an Arithmetic Overflow Error when any specific precision value is specified.

WORKAROUND

Use the default precision associated with the NUMERIC Datatype (18,0) instead of specifying a specific precision.

STATUS

Microsoft has confirmed this to be a problem in Microsoft SQL Server versions 6.0 and 6.5. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.


Modification Type:MinorLast Reviewed:3/1/2005
Keywords:kbbug KB136532