• Another new feature of SQL Server 2008 is an extension to the CONVERT function whereby a binary value can be converted to a string representation.

    e.g.

    SELECT CONVERT(VARCHAR(MAX), 0x484920544845524521, 1)

    ...returns:

    0x484920544845524521

    This removes the need for a 'BinToHexStr' function.

    Chris