sql server怎麼確定表裡面某一列全部是null?? select count(*) a from aselect count(*) b from a where b is nulla=b 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 declare @i int, @l intselect @i = count(*) from aselect @l =count(*) from a where b is null if @i =@l setlect 'B列全为NULL' select * from where 列1 is null and 列2 is null ..... 看错题目select count(*) [不为0就是全空] where b is not null pengdali(大力) ( )的比較好一些把 帮我写一个sql语句,急!!!! 计算列值不为0的 其他列共有多少个? 求教关于SQLserver安装过程中出错的问题,急 求成绩总分且排名次问题 請教在sql里使用序列的方法.或者是怎麼讓一個字段自動增加 SQL 语句可否按组汇总内容 求触发器 数据库搜索的问题[高手进来] 如何得到一台机器上所有数据库名称?(语句) forward-only cursro如何翻译? 问题是这样的,估计不是高手,还是放弃。因为信心会受打击的 我的sql起不来了,应该是DTC的问题,怎么办?非常急!
select @i = count(*) from a
select @l =count(*) from a where b is null
if @i =@l
setlect 'B列全为NULL'