I have this query:
select LENGTH(NVL(exam.vl_result,' ')) from exam;
And I got this error: ORA-00932: inconsistent datatypes: expected - got CLOB
The column vl_result
is CLOB, but I need to use NVL in this case. Is there any way to use NVL with datatype CLOB? If not, what can be the best way to get a similar query.