No. There are ways to code it quicker, but there are no shortcuts like you imply. Taken from an answer I gave on dba.stackexchange:

DECLARE @tb NVARCHAR(255), @sql NVARCHAR(MAX);

SET @tb = N'dbo.[table]';

SET @sql = N'SELECT * FROM ' + @tb + ' WHERE 1 = 0';

SELECT @sql = @sql + N' OR ' + QUOTENAME(name) + ' IS NULL'
    FROM sys.columns 
    WHERE [object_id] = OBJECT_ID(@tb);

EXEC sp_executesql @sql;
Answer from Aaron Bertrand on Stack Overflow
🌐
W3Schools
w3schools.com › sql › sql_null_values.asp
SQL NULL Values - IS NULL and IS NOT NULL
SELECT column_names FROM table_name ... a selection from the Customers table used in the examples: The IS NULL operator is used to test for empty values (NULL values)....
🌐
GeeksforGeeks
geeksforgeeks.org › sql server › how-to-check-a-column-is-empty-or-null-in-sql-server
How to Check a Column is Empty or Null in SQL Server - GeeksforGeeks
January 31, 2024 - In a Table Column sometimes there can be no actual or valid data and it could be NULL or Empty ('') or some space value saved. There are many methods or functions to identify the NULL or Empty values. Below are some of them: ... Explained below with examples, the above five methods. Below is the Table 'StudentsInfo' with data used for the examples in this article: ... This key word returns any records with NULL value in the column specified in a Table.
🌐
W3Schools
w3schools.com › mysql › mysql_null_values.asp
MySQL NULL Values - IS NULL and IS NOT NULL
It is not possible to test for NULL values with comparison operators, such as =, <, or <>. We will have to use the IS NULL and IS NOT NULL operators instead. SELECT column_names FROM table_name WHERE column_name IS NULL;
🌐
LearnSQL.com
learnsql.com › cookbook › how-to-find-records-with-null-in-a-column
How to Find Records with NULL in a Column | LearnSQL.com
Use the IS NULL operator in a condition with WHERE to find records with NULL in a column. Of course, you can also use any expression instead of a name of a column and check if it returns NULL.
🌐
Hightouch
hightouch.com › sql-dictionary › sql-is-null
SQL IS NULL - Syntax, Use Cases, and Examples | Hightouch
December 29, 2023 - The syntax for using the IS NULL operator is as follows: SELECT columns FROM table_name WHERE column_name IS NULL; columns: The columns you want to retrieve in the query. table_name: The name of the table containing the data. column_name: The ...
Find elsewhere
🌐
Baeldung
baeldung.com › home › sql queries › find null or empty values in sql
Find Null or Empty Values in SQL Baeldung on SQL
August 20, 2025 - MS SQL provides a function ISNULL to check for null values: SELECT id, name FROM Department WHERE ISNULL(code, '') = '' OR TRIM(code) = ''; The ISNULL function in MS SQL takes two arguments: the first is a value or column name, and the second ...
🌐
Quora
quora.com › Is-it-possible-to-find-null-values-in-an-SQL-table-without-knowing-the-column-name
Is it possible to find null values in an SQL table without knowing the column name? - Quora
Answer (1 of 4): No - there is ... contain NULLs, you can simply enumerate them, ie select * from mytable where col1 is null or col2 is null or … or colN is null; ......
🌐
Darling Data
erikdarling.com › home › blog › the right way to check for nulls in sql server queries
The Right Way To Check For NULLs In SQL Server Queries | Darling Data
May 16, 2022 - Not many databases have stuff going back to 1900, but I do see people using that as a canary value often enough. If that’s not enough to get you off the idea, let’s look at how this stuff plays out in the real world. First, let’s get ourselves an index. Without that, there’s fundamentally no difference in performance. ... SELECT c = COUNT_BIG(*) FROM dbo.Votes AS v WHERE v.BountyAmount IS NULL; SELECT c = COUNT_BIG(*) FROM dbo.Votes AS v WHERE v.BountyAmount IS NOT NULL;
🌐
Microsoft Learn
learn.microsoft.com › en-us › sql › t-sql › queries › is-null-transact-sql
IS NULL (Transact-SQL) - SQL Server | Microsoft Learn
To determine whether an expression is NULL, use IS NULL or IS NOT NULL instead of comparison operators (such as = or !=). Comparison operators return UNKNOWN when either or both arguments are NULL.
Top answer
1 of 4
5

Two Solutions (Column is All NULLs, Column Contains Some NULLs)

I have slightly altered your original example in order to provide two solutions:

Column_1 Column_2 Column_3
-------- -------- --------
1        2        NULL
1        NULL     NULL
5        6        NULL

First, test for NULLs and count them:

select 
    sum(case when Column_1 is null then 1 else 0 end) as Column_1, 
    sum(case when Column_2 is null then 1 else 0 end) as Column_2, 
    sum(case when Column_3 is null then 1 else 0 end) as Column_3,
from TestTable 

Yields a count of NULLs:

Column_1  Column_2  Column_3
0         1         3

Where the result is 0, there are no NULLs.

Second, let's count the non-NULLs:

select 
    sum(case when Column_1 is null then 0 else 1 end) as Column_1, 
    sum(case when Column_2 is null then 0 else 1 end) as Column_2, 
    sum(case when Column_3 is null then 0 else 1 end) as Column_3,
from TestTable

...But because we're counting non-NULLs here, this can be simplified to:

select 
    count(Column_1) as Column_1, 
    count(Column_2) as Column_2, 
    count(Column_3) as Column_3,
from TestTable

Either one yields:

Column_1  Column_2  Column_3
3         2         0

Where the result is 0, the column is entirely made up of NULLs.

If you only need to check a given column, then TOP 1 is quicker because it should stop at the first hit:

select count(*) from (select top 1 'There is at least one NULL' AS note from TestTable where Column_3 is NULL) a

0 = There are no NULLs, 1 = There is at least one NULL

SELECT COUNT(*) FROM (SELECT TOP 1 'There is at least one non-NULL' AS note FROM sat_data_active_season_group WHERE season_group IS NOT NULL) a

0 = They are all NULL, 1 = There is at least one non-NULL

I hope this helps.

2 of 4
3

we can check with the help of IN like

...WHERE NULL IN (Column_2, Column_3)

from your comment Well the multiple column will be Column_3, Column_2 in format might be this is helpful for you

select * from (select Column_3, Column_2 from @temp where null in (Column_3, Column_2)) as Result
🌐
Mimo
mimo.org › glossary › sql › is-null
SQL IS NULL Condition: Syntax, Usage, and Examples
The SQL IS NULL condition helps you check if a column contains no value, meaning it's undefined or missing. In relational databases, NULL represents the absence of data, not zero or an empty string. Use SQL IS NULL in your WHERE clause to find rows where a specific column has a NULL value.
🌐
Quora
quora.com › How-can-you-tell-if-a-database-has-null-values-using-SQL-queries
How to tell if a database has null values using SQL queries - Quora
It can be applied to the columns in your table as part of a simple query. SELECT COUNT(*) FROM table WHERE column IS NULL This basic syntax can be modified to determine if there are any nulls in any column in a table using NOT and AND or OR.
🌐
W3Schools
w3schools.com › sql › sql_isnull.asp
SQL IFNULL(), ISNULL(), COALESCE(), and NVL() Functions
SQL Examples SQL Editor SQL Quiz ... and may contain NULL values. ... In the example above, if any of the "UnitsOnOrder" values are NULL, the result will be NULL....