BUG: Converting char to float Causes Arithmetic Overflow

ID: Q87797


The information in this article applies to:
  • Microsoft SQL Server for OS/2, version 4.2
  • Microsoft SQL Server version 4.2x


BUG# OS/2: 1418 (4.2)
       NT:  775 (4.2) 

SYMPTOMS

When you convert from a nonnumeric character data type to floating point, you will receive the following error message 232:

Arithmetic overflow


WORKAROUND

Convert from char to real instead of char to float.


STATUS

Microsoft has confirmed this to be a problem in SQL Server version 4.2 for OS/2 and Microsoft SQL Server version 4.2. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.


MORE INFORMATION

You can reproduce this problem using the following command in ISQL:

convert (float, 'cat')

The complete error syntax is:
Msg 232, Level 16, State 2:
Arithmetic overflow for type varchar, value = 0.000000.
Arithmetic overflow occurred.

Additional query words: Transact-SQL Windows NT

Keywords : kbother kbbug4.20 SSrvServer SSrvWinNT
Version : 4.2 4.2
Platform : OS/2 WINDOWS
Issue type :


Last Reviewed: March 16, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.