2017-10-10 2 views

答えて

3

は、null値を持つすべての操作は、結果としてfalseを返すためですOR Table1.Name IS NULLチェック

select * 
from Table1 
where Table1.Name <> 'John' 
     OR Table1.Name IS NULL 
1
select * from Table1 where Table1.Name is null or Table1.Name <> 'John' 
2

を追加します。試してみてください

where IsNull(Table1.Name, '') <> 'John' 
関連する問題