Preamble
The Oracle IS NULL condition is used to check the NULL value. You can use the IS NULL condition either in an SQL sentence or in a block of PLSQL code.
Syntax for IS NULL condition in Oracle/PLSQL
expression IS NULL
Parameters and arguments of the condition
- expression – An expression to be checked for the content of the NULL value.
Note:
- If the expression contains a value of NULL, then the condition is TRUE.
- If the expression does not contain a value of NULL, then the condition assumes a value of FALSE.
Example with the SELECT operator
Below is an example of how to use the Oracle IS NULL condition in a SELECT query:
SELECT *
FROM suppliers
WHERE supplier_name IS NULL;
This example IS NULL will return all entries from the suppliers table where the field supplier_name contains the value NULL.
Example with the INSERT operator
Below is an example of how to use the Oracle IS NULL condition in the INSERT operator:
INSERT INTO suppliers
(supplier_id, supplier_name)
SELECT account_no, name
FROM customers
WHERE city IS NULL;
This example IS NULL will insert entries in the table where the city field contains the value NULL.
Example with UPDATE operator
Below is an example of how to use Oracle condition IS NULL in UPDATE operator:
UPDATE suppliers
SET name = 'Apple'
WHERE name IS NULL;
This example IS NULL will update the entries in the suppliers table where the name field contains the value NULL.
Example with DELETE operator
Below is an example of how to use the Oracle IS NULL condition in DELETE:
DELETE FROM suppliers
WHERE supplier_name IS NULL;
This example IS NULL will remove all entries from the suppliers table where the field supplier_name contains the value NULL.
Example use of PLSQL code in a block
You can use the Oracle IS NULL condition in PLSQL to check if the value contains NULL. For example:
IF variable IS NULL then
...
END IF;
Will calculate the expression’s “IF” condition as TRUE if the variable holds a NULL value.
In this Oracle tutorial you will learn how to check a value that does not contain NULL.
Oracle Tutorial; is NULL and is NOT NULL
About Enteros
Enteros offers a patented database performance management SaaS platform. It proactively identifies root causes of complex business-impacting database scalability and performance issues across a growing number of clouds, RDBMS, NoSQL, and machine learning database platforms.
The views expressed on this blog are those of the author and do not necessarily reflect the opinions of Enteros Inc. This blog may contain links to the content of third-party sites. By providing such links, Enteros Inc. does not adopt, guarantee, approve, or endorse the information, views, or products available on such sites.
Are you interested in writing for Enteros’ Blog? Please send us a pitch!
RELATED POSTS
Enteros for Insurance: Redefining AI Performance, Data Lake Management, and Cloud FinOps Excellence
- 7 October 2025
- Database Performance Management
Introduction The insurance industry stands at the crossroads of transformation — where data-driven insights, artificial intelligence (AI), and cloud technologies are reshaping business operations. Today’s insurers operate in a digital-first world, collecting and analyzing enormous volumes of data from multiple channels — customer interactions, policy applications, claims, IoT devices, and third-party providers. This explosion of … Continue reading “Enteros for Insurance: Redefining AI Performance, Data Lake Management, and Cloud FinOps Excellence”
Revolutionizing Healthcare IT: How Enteros AIOps and Observability Platforms Are Transforming Database Performance Management
Introduction In today’s data-driven healthcare landscape, precision, speed, and reliability are paramount. From real-time patient monitoring and electronic health records (EHRs) to AI-assisted diagnostics and predictive analytics, healthcare organizations rely on massive databases and complex IT infrastructures to deliver life-saving insights and services. However, as data volumes surge and systems become more distributed, managing database … Continue reading “Revolutionizing Healthcare IT: How Enteros AIOps and Observability Platforms Are Transforming Database Performance Management”
From Data to Delivery: How Enteros Transforms D2C Brands Through Database Performance and Cloud FinOps
- 6 October 2025
- Database Performance Management
Introduction In the fast-evolving world of Direct-to-Consumer (D2C) brands, agility and performance are everything. D2C businesses thrive on personalization, speed, and customer trust — all of which depend on how efficiently data flows through their systems. Behind every product recommendation, every smooth checkout, and every on-time delivery is a complex network of databases, cloud infrastructure, … Continue reading “From Data to Delivery: How Enteros Transforms D2C Brands Through Database Performance and Cloud FinOps”
How Enteros AI Performance and Data Lake Optimization Are Powering Innovation in the Fashion Industry
Introduction The fashion industry, once ruled by instinct and creativity alone, is now undergoing a seismic transformation driven by data and artificial intelligence (AI). From forecasting trends to managing supply chains and customer experiences, data-driven insights are redefining how fashion brands operate. Central to this digital shift is the use of AI-driven performance management and … Continue reading “How Enteros AI Performance and Data Lake Optimization Are Powering Innovation in the Fashion Industry”