View Single Post

   
  #1 (permalink)  
Old 04-08-2008, 10:07 AM
milindsj@gmail.com
 
Posts: n/a
Default how to know contents of blob column

Hi,
I have a table containing blob column.
There are some records in the table and the blob column contains .jpg,
..gif, .doc files.
I dont have filename stored in database which have the extension.
When I take the blob column throug java, how do I know whether the
respective blob is a gif file or jpg file or some other file.
Please let me know if you have any idea.

Milind

Reply With Quote