Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 conversion of varbinary to readable format

Author  Topic 

amurark
Yak Posting Veteran

55 Posts

Posted - 2014-02-02 : 00:55:34
hi team,
Pls help me in converting below data to readable text its varbinary format
0x5F5243464D2A3D41


Ankita

khtan
In (Som, Ni, Yak)

17689 Posts

Posted - 2014-02-02 : 01:18:47
what is that text ?


KH
[spoiler]Time is always against us[/spoiler]

Go to Top of Page

SwePeso
Patron Saint of Lost Yaks

30421 Posts

Posted - 2014-02-02 : 03:44:39
[code]DECLARE @Text VARBINARY;

SET @Text = 0x5F5243464D2A3D41;

SELECT CAST(@Text AS VARCHAR(MAX));[/code]


Microsoft SQL Server MVP, MCT, MCSE, MCSA, MCP, MCITP, MCTS, MCDBA
Go to Top of Page
   

- Advertisement -