--
--
select * from (
select t.id,form_id
, dbms_lob.substr(
t.enteredBy
,(dbms_lob.instr(t.enteredBy, '',1,1) - dbms_lob.instr(t.enteredBy, '
,dbms_lob.instr(t.enteredBy, '
) login_name
from
(
select o.id,o.form_id
,dbms_lob.substr(
o.clob_data
,(dbms_lob.instr(o.clob_data, '
,dbms_lob.instr(o.clob_data, '
) enteredBy
from old_data_type_idf o
where dbms_lob.instr(o.clob_data, '
) t
)X
where X.form_id='IDF-PRIMECT-36J2M5VWFC';