匿名通过本文主要向大家介绍了ntext,空值,NULL等相关知识,希望本文的分享对您有所帮助
SQLserver查询数据类型为ntext是空或NULL值的方法
代码如下:
--为空的值text ntext
select * from lf_newsNg_utf where datalength(newsContentE)=0 or datalength(newsContentE) is null
SQLserver查询数据类型为ntext是空或NULL值的方法
代码如下:
--为空的值text ntext
select * from lf_newsNg_utf where datalength(newsContentE)=0 or datalength(newsContentE) is null