我面临以下问题:
-615:此表达式中不允许出现 Blob。
SELECT ser
,task_code
,trans_serial
,trans_year
,CASE when nvl(length(signed_content), 0) <> '' THEN signed_content ELSE attach_content END AS signed_content
,CASE WHEN nvl(length(signed_content), 0) <> '' THEN 'signed_content' ELSE 'attach_content' END AS comes_from
FROM attach_detail
WHERE serial = 5 AND task_code = 88 AND trans_year = 2012 AND trans_serial = 23728
注:signed_content
,attach_content
属于BYTE
; 其他列是 type INT
。