BUG: Convert From Binary to Numeric Gives Error 8114

ID: Q141664


The information in this article applies to:

BUG# NT: 12244 (6.00)

SYMPTOMS

The SQL Server 6.0 "Transact-SQL Reference" manual states, on page 189, that binary can be explicitly converted to numeric, however, using the Convert() function to convert from binary to numeric gives the following error:

Msg 8114, Level 16, State 2
Error converting type binary to type numeric.


STATUS

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


MORE INFORMATION

The following script will replicate the problem:


declare @x numeric
declare @y binary
select @y = 0x00
select @x = convert(numeric, @y)
select @x 

Additional query words: SQL6 winnt prog convert doc


Keywords          : kbusage SSrvProg kbbug6.00 
Version           : 6.0
Platform          : WINDOWS 
Issue type        : 

Last Reviewed: March 23, 1999