当前位置: 代码迷 >> Sql Server >> case when then深入剖解
  详细解决方案

case when then深入剖解

热度:11   发布时间:2016-04-24 10:44:06.0
case when then深入剖析
case 
when a = 2
then 0
else 1
end 

此语法在不写else时,会存在什么样的情况了?

有没有谁有此语法的深入讲解资料?
------解决方案--------------------
不写else时返回null值
------解决方案--------------------
返回null
  相关解决方案