null值的判断

select * from Students where Address IS null --判断address是nul
select * from Students where Address is not null --判断address不为null
select name,ISNULL([address],'地球')from Students--如果有出现null就让其显示地球(要注意其数据类型)

原文地址:https://www.cnblogs.com/sumg/p/3649458.html