用一条修改语句即可:update t_content set f_body=rawtohex(f_check) where f_type in (0,4)此处须用rawtohex()函数将f_check转成16进制,不然会报ORA-01465: invalid hex number(ORA-01465:无效的十六进制数字)的错误.备注:f_body为blob型字段,f_check为varchar2型这时在页面取 f_body时直接用getString("f_body")即可.