我有一个包含此列的表: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:
答案 0 :(得分:1)
它对你有用吗?
case pro.holder_hidden when 'T' then null else com.LOGO end