<> is Standard SQL-92; != is its equivalent. Both evaluate for values, which NULL is not -- NULL is a placeholder to say there is the absence of a value.

Which is why you can only use IS NULL/IS NOT NULL as predicates for such situations.

This behavior is not specific to SQL Server. All standards-compliant SQL dialects work the same way.

Note: To compare if your value is not null, you use IS NOT NULL, while to compare with not null value, you use <> 'YOUR_VALUE'. I can't say if my value equals or not equals to NULL, but I can say if my value is NULL or NOT NULL. I can compare if my value is something other than NULL.

Answer from OMG Ponies on Stack Overflow
🌐
TechOnTheNet
techonthenet.com › oracle › isnotnull.php
Oracle / PLSQL: IS NOT NULL Condition
Here is an example of how to use the Oracle IS NOT NULL condition in a SELECT statement: SELECT * FROM customers WHERE customer_name IS NOT NULL; This Oracle IS NOT NULL example will return all records from the customers table where the customer_name does not contain a null value.
🌐
Oracle
docs.oracle.com › en › database › oracle › oracle-database › 19 › sqlrf › Nulls.html
SQL Language Reference
September 24, 2025 - To test for nulls, use only the ... of the null, then the result is UNKNOWN. Because null represents a lack of data, a null cannot be equal or unequal to any value or to another null....
🌐
Oracle Tutorial
oracletutorial.com › home › oracle basics › oracle is null operator
Oracle IS NULL Operator
April 27, 2025 - Notice that NULL is not zero or empty string ”. If you want to compare a value with an empty string, you can use the equal to (=) or not equal operator (!=).
🌐
Oracle
forums.oracle.com › ords › apexds › post › sql-if-value-is-null-not-equal-does-not-work-4157
sql if value is null not equal does not work - Oracle Forums
August 18, 2020 - I have the below query, but the AND pd.FROMLOC 'DMS' does not work if the column has {null} is there a workaround? SELECT pd.wavekey, pd.orderkey, o.externorderkey, pd.pickdetailkey...
🌐
Oracle
docs.oracle.com › cd › B19306_01 › server.102 › b14200 › sql_elements005.htm
Nulls
To test for nulls, use only the ... of the null, then the result is UNKNOWN. Because null represents a lack of data, a null cannot be equal or unequal to any value or to another null....
🌐
Upscale Analytics
ramkedem.com › home › oracle is null operator
Oracle IS NULL Operator - Upscale Analytics
May 20, 2019 - In Oracle, to handle comparison with NULL values, you need to use the following Oracle operators: IS NULL – equals the logical operation ‘= NULL’ (records with NULL values) IS NOT NULL – equals the logical operation ‘<> NULL’ (records without NULL values)
🌐
Enterprise DNA
blog.enterprisedna.co › sql-not-equal-operator
SQL Not Equal Operator: A Detailed Guide for Beginners – Master Data Skills + AI
Here’s an example using the LIKE operator to select all tracks with names starting with the word “Let”: ... In SQL, null values act as placeholders for the absence of a value in a field. Using the Not Equal operator (<> or !=) with null values will not evaluate to true or false.
Find elsewhere
🌐
Modern SQL
modern-sql.com › feature › is-distinct-from
Modern SQL: IS DISTINCT FROM — A comparison operator that treats two NULL values as the same
In SQL NULL = NULL isn’t true. Use IS NOT DISTINCT FROM instead of equals (=) for null-aware comparisons.
🌐
Oracle Live SQL
livesql.oracle.com › ords › livesql › file › tutorial_GIEX74ES22UVSEOB0CL100ZL1.html
Oracle Live SQL - Tutorial: Querying Null-valued Rows: Databases for Developers
This is like NVL. But it can take any number of arguments. It returns the first non-null value it finds: select t.*, coalesce ( volume_of_wood , 0 ) coalesce_two, coalesce ( times_lost, volume_of_wood , quantity_of_stuffing, 0 ) coalesce_many from toys t;
🌐
Oracle
docs.oracle.com › en › database › other-databases › nosql-database › 22.3 › sqlreferencefornosql › is-null-and-is-not-null-operators.html
IS NULL and IS NOT NULL Operators
March 15, 2023 - If the input expression returns ... returns true if and only if the single item computed by the input expression is NULL. The IS NOT NULL operator is equivalent to NOT (IS NULL cond_expr)....
🌐
DZone
dzone.com › data engineering › databases › null in oracle
NULL in Oracle
August 17, 2023 - The main feature of NULL is that it is not equal to anything, not even another NULL. You cannot compare any value with it using any operators: =, <, >, like ... Even the expression NULL != NULL will not be true because one cannot uniquely compare ...
🌐
Oracle
docs.oracle.com › cd › E17952_01 › mysql-5.7-en › comparison-operators.html
12.4.2 Comparison Functions and Operators
October 25, 2025 - This operator performs an equality comparison like the = operator, but returns 1 rather than NULL if both operands are NULL, and 0 rather than NULL if one operand is NULL. The <=> operator is equivalent to the standard SQL IS NOT DISTINCT FROM operator.
🌐
W3Schools
w3schools.com › sql › sql_null_values.asp
SQL NULL Values - IS NULL and IS NOT NULL
A field with a NULL value is a field with no value. If a field in a table is optional, it is possible to insert a new record or update a record without adding a value to this field.