oracle 读取BLOB图片 显示不出来
被盗的小偷 2017-07-10 03:19:24 代码如下:
Response.Clear()
sql="select * from *** p where p.Code='12345"
set rs=db_wwr.execute(sql)
If Not rs.eof Then
response.ContentType="image/bmp"
response.BinaryWrite rs("photo")
Else
response.Write "未提供照片"
End If
原来Long Raw格式的照片可以正常显示,但是换成BLOB就无法正常显示,请教各位如何才能正确显示图片?