Home >Database >Mysql Tutorial >SQLserver查询数据类型为ntext是空或NULL值的方法

SQLserver查询数据类型为ntext是空或NULL值的方法

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-07 18:00:58939browse

SQLserver查询数据类型为ntext是空或NULL值的方法

代码如下:
--为空的值text ntext
select * from lf_newsNg_utf where datalength(newsContentE)=0 or datalength(newsContentE) is null

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn