select * from emp where ISNULL(comm)select * from emp where comm IS NULL如上两句查询,结果完全一致,这两个有什么区别吗
是一样的。根据测试显示:
IS NULL 效率更高,因为它不需要扫描。
IS NULL