Checking database for NULL boolean value
In TSQL, you need to use IS
rather than =
when comparing with NULL
:
SELECT * FROM table WHERE field IS NULL
In TSQL, you need to use IS
rather than =
when comparing with NULL
:
SELECT * FROM table WHERE field IS NULL