Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何从 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 = '';
您可以使用 length() 函数进行检查:
SELECT * FROM ISA_TMP WHERE length(local_data) = 0;