SQLserver查詢數(shù)據(jù)類型為ntext是空或NULL值的方法

SQLserver查詢數(shù)據(jù)類型為ntext是空或NULL值的方法

代碼如下:
–為空的值text ntext
select * from lf_newsNg_utf where datalength(newsContentE)=0 or datalength(newsContentE) is null

? 版權(quán)聲明
THE END
喜歡就支持一下吧
點(diǎn)贊5 分享