【问题标题】:How to compare clob columns of single table in oracle? [closed]如何比较oracle中单个表的clob列? [关闭]
【发布时间】:2018-07-01 22:45:35
【问题描述】:

oracle中如何比较单个表的clob列?

【问题讨论】:

标签: sql oracle clob


【解决方案1】:

这段代码应该可以工作:

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

PS:我没有尝试运行它,因为我目前无法访问 Oracle 实例。

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

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2014-01-15
    • 2017-09-30
    • 1970-01-01
    • 1970-01-01
    • 2015-01-27
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多