猿问
SQL Server中,null 与not null 在什么时候用?
SQL Server中,null 与not null 在什么时候用?
至尊宝的传说
浏览 800
回答 1
1回答
明月笑刀无情
sql server 中使用 null 和 not null 来判断列的空值。语法为:列名 is null (字段为空返回true ,不为空返回 false)列名 is not null (字段为空返回false,不为空返回 true)例:select case when a is null then 1 else 0 end from aaa语法大意:如果a列 为空显示1,不为空显示0
0
0
0
随时随地看视频
慕课网APP
相关分类
NoSql
该用哪一种nosql?
1 回答
nosql如何实现自己的技术?
1 回答
我要回答