Home Forums SQL Server 2008 T-SQL (SS2K8) Converting varbinary to numeric type in tsql -- decimal in c# RE: Converting varbinary to numeric type in tsql -- decimal in c#

  • If it was simple convertion/cast it would not be a problem.

    Here is some sample data.

    NameDecimalValueNumericValue

    -----------------------------------------------------------------------------

    Number2_40x14E201000000000000000000000002001234.12

    Number10xCF040000000000000000000000000100123.1

    Number50xD929954900000000000000000000050012345.12345

    Number40xF24FBC000000000000000000000004001234.1234