Solved

How do I convert Binary to Text in SQL Server?

Posted on 2011-09-12
1
702 Views
Last Modified: 2012-05-12
I am querying a Goldmine database and need to convert Goldmine..Notes.Notes from Binary Image to Text.

Here is a sample of what the field is storing '0x342F3520492063616C6C656420746F20666F6C6C6F77207570206F6E206661697276696577206C65747465722073656E7420746F2072656974726565732E204C454654204D53472E203C62723E3C62723E5468652070686F6E65206E756D6265722077652068617665206C6973746564206D6179206E6F7420626520636F72726563742E204E6F206C697374696E6720696E2071776573746465782E3C62723E00'

0
Comment
Question by:pcgym
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 11

Accepted Solution

by:
stevengraff earned 500 total points
ID: 36523405
try:

cast(cast(notes as varbinary(max))as varchar(max))

0

Featured Post

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Recently we ran in to an issue while running some SQL jobs where we were trying to process the cubes.  We got an error saying failure stating 'NT SERVICE\SQLSERVERAGENT does not have access to Analysis Services. So this is a way to automate that wit…
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
Via a live example combined with referencing Books Online, show some of the information that can be extracted from the Catalog Views in SQL Server.

628 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question