比如select * from A where Name<>'sql'
但是Name值null也被排除了!!我想问一下这是什么原因!
解决方法只有下面这一种吗!?
select * from A where Name<>'sql' or Name is null
但是Name值null也被排除了!!我想问一下这是什么原因!
解决方法只有下面这一种吗!?
select * from A where Name<>'sql' or Name is null
select * from A where isnull(Name,'')<>'sql'
select * from A where isnull(Name,'')<>'sql'