SQL Server 是否支持IS DISTINCT FROM
SQL:1999 标准的语句?例如查询
SELECT * FROM Bugs WHERE assigned_to IS NULL OR assigned_to <> 1;
可以使用重写IS DISTINCT FROM
SELECT * FROM Bugs WHERE assigned_to IS DISTINCT FROM 1;
SQL Server 是否支持IS DISTINCT FROM
SQL:1999 标准的语句?例如查询
SELECT * FROM Bugs WHERE assigned_to IS NULL OR assigned_to <> 1;
可以使用重写IS DISTINCT FROM
SELECT * FROM Bugs WHERE assigned_to IS DISTINCT FROM 1;