If you want to convert the varbinary data to a hexadecimal string (like how it gets displayed in Query Analyzer by default), you can use the built-in function master.dbo.fn_varbintohexstr(). I have used this for outputting timestamp columns in XML.
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply