case when 当中怎么判断一个字段是否为空

case when 当中如何判断一个字段是否为空注意不是null 是空字符串。[解决办法]case when 字段名字 or 字

case when 当中如何判断一个字段是否为空
注意不是null 

是空字符串。
[解决办法]

case when 字段名字='' or 字段名字 is null then 你的处理方法 else  你的处理方法 end

[解决办法]
引用:
SQL code?



1

case when 字段名字='' or 字段名字 is null then 你的处理方法 else  你的处理方法 end
case when 字段名字='' then 你的处理方法 else  你的处理方法 end
都说了不用null咯
[解决办法]
case when 字段=''