I need to get the query result below in varchar2 to display in the view. I tried using dbms_lob.substr as shown below, but then it gives me the error "ORA-22922: nonexistent LOB value".
dbms_lob.substr ((select wm_concat (tr_country) from NEXUS_TRAC_TRAVEL_PLAN_DTL where nexus_year = trdata.nexus_year and nexus_seq_no = trdata.nexus_seq_no), 4000,1),
The select query returns the result in the CLOB.
oracle10g type-conversion
Ankita_K Oct 19 '12 at 7:22 2012-10-19 07:22
source share