Friday, December 9, 2011

SQL : Each Null has Different Value

IF NULL = NULL
BEGIN
    SELECT 'Are Equal'
END
ELSE
BEGIN
    SELECT 'Are Not Equal'
END

Query Result is : Are Not Equal

This means that in SQL each Null has different value.










No comments:

Post a Comment