select * from table1
where col is null or dbms_lob.compare(col, empty_clob()) = 0
本文将深入探讨如何在SQL查询中使用NULL和DBMS_LOB.compare函数来筛选特定条件的数据,具体展示了如何从table1表中选择列为空或者与空lob比较结果为0的行。
select * from table1
where col is null or dbms_lob.compare(col, empty_clob()) = 0
371

被折叠的 条评论
为什么被折叠?
