02 2023 档案
SQL Server In and Not in when result contains null
摘要:请注意,如果列表包含NULL,则IN或NOT IN的结果将为UNKNOWN,意味着将会被认为符合条件,例如: select case when '1' not in ('0',null) then 'not in' else 'in' end 结果如下: (No column name)in 在筛选
阅读全文