Search for a particular string in Oracle clob column

前端 未结 5 1194
长情又很酷
长情又很酷 2020-12-14 16:18

How to get a particular string from a clob column?

I have data as below which is stored in clob column called product_details

CALCULATIO         


        
5条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-14 16:58

    Below code can be used to search a particular string in Oracle clob column

    select *  
    from RLOS_BINARY_BP
    where dbms_lob.instr(DED_ENQ_XML,'2003960067') > 0;
    

    where RLOS_BINARY_BP is table name and DED_ENQ_XML is column name (with datatype as CLOB) of Oracle database.

提交回复
热议问题