1、判断不能为null或者不能为空字符串:
使用trim()即可:
TRIM(Field) != ''
2、判断为null或者为空字符串:
必须俩者结合:
<![CDATA[ and (Field is null or LENGTH(trim(Field)) < 1 ) ]]>
或者
(Field is null or Field = '')
版权声明:本文为weixin_39093006原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。
1、判断不能为null或者不能为空字符串:
使用trim()即可:
TRIM(Field) != ''
2、判断为null或者为空字符串:
必须俩者结合:
<![CDATA[ and (Field is null or LENGTH(trim(Field)) < 1 ) ]]>
或者
(Field is null or Field = '')