如何从表中获取所有行,其中CLOB内容为空(但不为空)? 表格箱声明:
create column table "MY_SCHEM"."ISA_TMP"( "tenant_alias" varchar(500),"local_data" CLOB null);
我试过了:
select * from "MY_SCHEM"."ISA_TMP"
where local_data = '';
答案 0 :(得分:1)
您可以使用length()函数检查:
SELECT *
FROM ISA_TMP
WHERE length(local_data) = 0;