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

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
Save Password
Forgot your Password?

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 Converting Image datatype to Varchar
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Ask SQLTeam Question

0 Posts

Posted - 05/22/2001 :  09:15:59  Show Profile  Visit AskSQLTeam's Homepage  Reply with Quote
Disha writes "MS SQL SERVER 6.5 ON WINDOWS NT 4.0
I have a table which has a column with image datatype.
The body (text) of an incoming mail is stored in this column.
Based on certain where clause, i wish to extract the body(text) AND INSERT it into another column of another table with datatype as varchar.
how to do it?

Else how to read the text of this image datatype?
please note that by giving the correct where clause, the text which i would like to read from this column is not bigger than 255 characters."


United Kingdom
12543 Posts

Posted - 05/22/2001 :  12:30:08  Show Profile  Visit nr's Homepage  Reply with Quote
can't convert image to varchar.
You can convert via binary though.


what you end up with will depend on the data that is in the image.

Go to Top of Page

Starting Member

4 Posts

Posted - 04/07/2013 :  05:01:59  Show Profile  Reply with Quote
i have been using imaging software a lot,it's convinent and fast,accurate convert image.easily and automatically detect document and image format. unspammed
Go to Top of Page
  Previous Topic Topic Next Topic  
 Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.02 seconds. Powered By: Snitz Forums 2000