ORA-00932:解码BLOB

时间:2016-10-25 12:52:08

标签: sql oracle oracle11g

我有一个包含此列的表:LOGO BLOB

并进行选择

 DECODE (pro.holder_hidden,'T', null, com.LOGO) COMPANY_LOGO 

我收到了错误

ORA-00932: inconsistent datatypes: expected CHAR got BLOB
00932. 00000 -  "inconsistent datatypes: expected %s got %s"
*Cause:    
*Action:

1 个答案:

答案 0 :(得分:1)

它对你有用吗?

case pro.holder_hidden when 'T' then null else com.LOGO end