posts - 303,  comments - 59,  views - 44万
< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5
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 在筛选 阅读全文
posted @ 2023-02-22 11:35 芝麻的西瓜 阅读(25) 评论(0) 推荐(1) 编辑

点击右上角即可分享
微信分享提示