当前位置: 代码迷 >> Sql Server >> sql中的非空判断语句解决方法
  详细解决方案

sql中的非空判断语句解决方法

热度:47   发布时间:2016-04-27 16:07:15.0
sql中的非空判断语句
求个sql判断非空的语句;
类似select     Group_ID,Group_Name   from   T_CD_Group     where   Group_ID   isnot   null
但不是isnot   .具体忘了   .

------解决方案--------------------
select Group_ID,Group_Name from T_CD_Group where Group_ID is not null
------解决方案--------------------
判断:
is not null
is null

赋值:
=null
------解决方案--------------------
select Group_ID,Group_Name from T_CD_Group where Group_ID is not null
  相关解决方案