Sunday, October 5, 2008

Division By NULL

-- Division by NULL

SELECT (1/NULL) AS Result
SELECT (100/NULL) AS Result
SELECT (0/NULL) AS Result
SELECT (NULL/NULL) AS Result


Result
-----------
NULL

Result
-----------
NULL

Result
-----------
NULL

Result
-----------
NULL

No comments: