I have the following query :
DECLARE @dt AS DATE = NULL;
SELECT orderid, shippeddate
FROM Sales.Orders
WHERE shippeddate = @dt;
I have some Orders with NULL shippeddate but they are not returned when executing the above query.
I have the following query :
DECLARE @dt AS DATE = NULL;
SELECT orderid, shippeddate
FROM Sales.Orders
WHERE shippeddate = @dt;
I have some Orders with NULL shippeddate but they are not returned when executing the above query.