Home > Database > Mysql Tutorial > body text

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

WBOY
Release: 2016-06-07 18:00:58
Original
915 people have browsed it

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

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

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template