How to compare clob columns of single table in oracle? [closed]

This code should work:

select * 
    from table 
   where dbms_lob.compare(aClobColumn, bClobColumn) = 0

PS: I haven’t tried running it as I am not having access to an Oracle instance at the moment.

Reference: https://docs.oracle.com/database/121/ARPLS/d_lob.htm#ARPLS600

Leave a Comment