I have two tables I would like to complare. One of the columns is type CLOB. I would like to do something like this:
select key, clob_value source_table
minus
select key, clob_value target_table
Unfortunately, Oracle can't perform minus operations on clobs. How can I do this?
The format is this:
If dbms_lob.compare(lob1, lob2) = 0, they are identical.
Here's an example query based on your example:
Can you access the data via a built in package? If so then perhaps you could write a function that returned a string representation of the data (eg some sort of hash on the data), then you could do