varbinary(max)

  • We have a third party database and most of the values are in varbinary(max).

    How do I evaluate those values into standard text?
    How do I see the values stored in binary text?
    How do I see the meaning of the binary value?

  • scott.laird - Tuesday, April 25, 2017 11:31 AM

    We have a third party database and most of the values are in varbinary(max).

    How do I evaluate those values into standard text?
    How do I see the values stored in binary text?
    How do I see the meaning of the binary value?

    Use the convert (function)
    😎

  • If CONVERT doesn't work, then the data may not be of the type you think it is, or, it could be encrypted. Just guessing since we can't see what's going on.

    "The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
    - Theodore Roosevelt

    Author of:
    SQL Server Execution Plans
    SQL Server Query Performance Tuning

Viewing 3 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply