When I do the following:
DECLARE @x float
SET @x = 1234.5
SELECT CONVERT(varbinary, @x)
What is the returned format? I need to get the original number back from .net somehow, and I only have the binary value available.
Clarification:
The statement above returns
(no column name)
0x40934A0000000000
Somehow, I must get the value 12345.5 back from the binary data 0x40934A0000000000.