Sql Server 中image类型迁移到Oracle 中Blob类型出现图片显示不出来,why????请博客们帮忙

我现在在一项目中碰到这么一个问题
Sql Server 中image类型迁移到Oracle Blob类型出现图片显示不出来,我在Sql Server 中看了一条image数据
如下:
1。Sql Server中
select datalength(d.photo) from drivers d where d.Name like '%陆斌%'
输出如下
132727

select d.photo from drivers d where d.Name like '%陆斌%'
输出如下
0x151C32000200000012000C0014002600FFFFFFFF50686F746F20456469746F7220D5D5C6AC004D5350686F746F45642E330001050000020000000C0000004D5350686F746F45642E33000000000000000000005E0100D0CF11E0A1B11AE1000000000000000000000000000000003E000300FEFF0900060000000000000000

2。Oracle中
select DBMS_LOB.getlength(d.photo) from drivers d where d.Name like '%陆斌%'
输出如下
132727

select d.photo from drivers d where d.Name like '%陆斌%'
输出如下
0x151C32000200000012000C0014002600FFFFFFFF50686F746F20456469746F7220D5D5C6AC004D5350686F746F45642E330001050000020000000C0000004D5350686F746F45642E33000000000000000000005E0100D0CF11E0A1B11AE1000000000000000000000000000000003E000300FEFF0900060000000000000000

迁移的数据是一模一样都是16进制但在显示时图片就是显示不出来,为什么???好郁闷呀

posted on 2005-05-20 11:04  surprise  阅读(4304)  评论(2编辑  收藏  举报

导航