x

Image Data type

Hi,

I have a table in which one column is image data type & data is already there.

Now when in running selcet query,its retuen value in hexadecimal code.

Actually i want actual image.

So can any body tell me how can i query so that i get the image in management studio.

If it is not possible then any other option???

more ▼

asked Mar 09, 2010 at 08:47 AM in Default

avatar image

user-806
181 20 23 27

(comments are locked)
10|1200 characters needed characters left

3 answers: sort voted first

Hi, I wrote SQL Image Viewer, and it will do what you need, which is to display any images (gif, jpg, png, bmp, tif, ico, psd etc) retrieved by your query. It identifies the image type from the image data itself. In addition, it'll also identify most types of binary data that may be returned by your query e.g. pdf, xls, doc, zip, bz2, gz, wav, mp3, etc. It can also export your image and binary data to disk.

Give the trial version a run and if you have any further questions, just ask.

Thanks.

more ▼

answered Mar 10, 2010 at 10:58 PM

avatar image

Yeoh Ray Mond
61 2 1

(comments are locked)
10|1200 characters needed characters left

you wont get an image to be rendered in SSMS, its not that sort of interface, you'll have to use the image datatype in an application and use the control there to display the image.

more ▼

answered Mar 09, 2010 at 08:56 AM

avatar image

Fatherjack ♦♦
43.7k 79 97 117

(comments are locked)
10|1200 characters needed characters left

I did a search and was surprised I couldn't find a free SQL query image viewer. I found this shareware version, but I don't know how good it is: http://www.sqlimageviewer.com/

more ▼

answered Mar 09, 2010 at 10:38 PM

avatar image

Tom Staab ♦
14.5k 7 14 18

(comments are locked)
10|1200 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

SQL Server Central

Need long-form SQL discussion? SQLserverCentral.com is the place.

Topics:

x152
x36

asked: Mar 09, 2010 at 08:47 AM

Seen: 2746 times

Last Updated: Mar 09, 2010 at 11:51 AM

Copyright 2016 Redgate Software. Privacy Policy