SQLserver查詢數(shù)據(jù)類型為ntext是空或NULL值的方法
代碼如下:
–為空的值text ntext
select * from lf_newsNg_utf where datalength(newsContentE)=0 or datalength(newsContentE) is null
? 版權(quán)聲明
文章版權(quán)歸作者所有,未經(jīng)允許請(qǐng)勿轉(zhuǎn)載。
THE END
SQLserver查詢數(shù)據(jù)類型為ntext是空或NULL值的方法
代碼如下:
–為空的值text ntext
select * from lf_newsNg_utf where datalength(newsContentE)=0 or datalength(newsContentE) is null