How to convert a column value from varbinary(max) to varchar in human-readable form?
varbinary(max)
varchar
I tried this, it worked for me:
declare @b2 VARBINARY(MAX) set @b2 = 0x54006800690073002000690073002000610020007400650073007400 SELECT CONVERT(nVARCHAR(1000), @b2, 0);