How to get a particular string from a clob column?
I have data as below which is stored in clob column called product_details
CALCULATION=[N]NEW.PRODUCT_NO=[T9856]
OLD.PRODUCT_NO=[T9852].... -- with other text
I would like to search for string NEW.PRODUCT_NO
from column product_details
I have tried as
select * from my_table
where dbms_lob.instr(product_details,'NEW.PRODUCT_NO')>=1
The above fetches full text from my table.
Any help is highly appreciable.
Regards
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…