Assuming the column is set to support NULL as a value:

UPDATE YOUR_TABLE
   SET column = NULL

Be aware of the database NULL handling - by default in SQL Server, NULL is an INT. So if the column is a different data type you need to CAST/CONVERT NULL to the proper data type:

UPDATE YOUR_TABLE
   SET column = CAST(NULL AS DATETIME)

...assuming column is a DATETIME data type in the example above.

Answer from OMG Ponies on Stack Overflow
๐ŸŒ
W3Schools
w3schools.com โ€บ sql โ€บ sql_null_values.asp
SQL NULL Values - IS NULL and IS NOT NULL
String Functions: Asc Chr Concat ... SQL Study Plan SQL Bootcamp SQL Certificate SQL Training ... A field with a NULL value is a field with no value....
Discussions

Default NULL for INT data types - SQL Server Forums
Microsoft SQL Server articles, forums and blogs for database administrators (DBA) and developers. More on sqlteam.com
๐ŸŒ sqlteam.com
SQL Change null values for integer column โ€“ SQLServerCentral Forums
SQL Change null values for integer column Forum โ€“ Learn more on SQLServerCentral More on sqlservercentral.com
๐ŸŒ sqlservercentral.com
November 9, 2022
How to replace a null int with a string

Don't mix data types

Bad form. The UI should take the null and display N/A

If you really want to

Case when col_name is null then 'N/A'

But dont

Please

More on reddit.com
๐ŸŒ r/SQL
5
0
September 19, 2016
How do I convert varchar to integer when there are null values present?
What errors do you get? Whatโ€™s the DDL used to create the table? More on reddit.com
๐ŸŒ r/SQL
12
1
April 4, 2019
๐ŸŒ
Microsoft Learn
learn.microsoft.com โ€บ en-us โ€บ answers โ€บ questions โ€บ 911838 โ€บ sql-query-needs-to-handle-both-null-and-integer-va
Sql query needs to handle both NULL and INTEGER value. - Microsoft Q&A
July 2, 2022 - Welcome to Microsoft T-SQL Q&A Forum! First of all, your function is not used correctly . When you want to determine whether a field exists , when the database retrieves null , it will of course return 0 because of your operation .
๐ŸŒ
IBM
ibm.com โ€บ docs โ€บ en โ€บ informix-servers โ€บ 15.0.0
SQL NULL value
The SQL NULL value represents a null or empty value in a database column. The NULL value is distinct from all valid values for a given data type.
๐ŸŒ
W3Schools
w3schools.com โ€บ sql โ€บ sql_isnull.asp
W3Schools.com
SQL Examples SQL Editor SQL Quiz SQL Exercises SQL Server SQL Syllabus SQL Study Plan SQL Bootcamp SQL Certificate SQL Training ... Suppose that the "UnitsOnOrder" column is optional, and may contain NULL values.
๐ŸŒ
W3Schools
w3schools.com โ€บ sql โ€บ sql_notnull.asp
SQL NOT NULL Constraint
The following SQL ensures that the "ID", "LastName", and "FirstName" columns will NOT accept NULL values when the "Persons" table is created: CREATE TABLE Persons ( ID int NOT NULL, LastName varchar(255) NOT NULL, FirstName varchar(255) NOT NULL, Age int );
๐ŸŒ
DB Vis
dbvis.com โ€บ thetable โ€บ the-definitive-guide-to-the-null-sql-server-value
The Definitive Guide to the NULL SQL Server Value
September 12, 2024 - To mark a column as nullable in SQL Server, you can add the NULL keyword in the column definition line of your CREATE TABLE, as in the example below: ... 1 CREATE TABLE Employee ( 2 Id INT NOT NULL IDENTITY(1,1) PRIMARY KEY, 3 FirstName VARCHAR(50) ...
๐ŸŒ
Wikibooks
en.wikibooks.org โ€บ wiki โ€บ MySQL โ€บ Language โ€บ Using_NULL
MySQL/Language/Using NULL - Wikibooks, open books for an open world
October 15, 2010 - Null is a special logical value in SQL. Most programming languages have 2 values of logic: True and False. SQL also has NULL which means "Unknown". A NULL value can be set. NULL is a non-value, so it can be assigned to TEXT columns, INTEGER columns or any other datatype.
Find elsewhere
๐ŸŒ
Baeldung
baeldung.com โ€บ home โ€บ persistence โ€บ inserting null into an integer column using jdbc
Inserting Null Into an Integer Column Using JDBC | Baeldung
January 8, 2024 - To set a null value into the Integer column, there are two defined ways in the PreparedStatement interface. With the setNull method, weโ€™re always sure that our field value is null before executing the SQL query.
๐ŸŒ
Microsoft Learn
learn.microsoft.com โ€บ en-us โ€บ sql โ€บ t-sql โ€บ statements โ€บ alter-table-transact-sql
ALTER TABLE (Transact-SQL) - SQL Server | Microsoft Learn
3 weeks ago - The code samples in this article use the AdventureWorks2025 or AdventureWorksDW2025 sample database, which you can download from the Microsoft SQL Server Samples and Community Projects home page. Examples in this section demonstrate adding columns and constraints to a table. The following example adds a column that allows null values and has no values provided through a DEFAULT definition. In the new column, each row has NULL. CREATE TABLE dbo.doc_exa (column_a INT); GO ALTER TABLE dbo.doc_exa ADD column_b VARCHAR (20) NULL; GO
๐ŸŒ
Scaler
scaler.com โ€บ topics โ€บ sql โ€บ null-value-in-sql
NULL Value in SQL - Scaler Topics
March 28, 2024 - Hence NULL represents a column field in the table with no value. NULL is not a datatype like "int", "char". Also, arithmetic operations on NULL values will result in NULL. Take this example, if we do 81 - NULL.
๐ŸŒ
TutorialsPoint
tutorialspoint.com โ€บ insert-null-value-into-int-column-in-mysql
Insert NULL value into INT column in MySQL?
June 25, 2020 - You can insert NULL value into an int column with a condition i.e. the column must not have NOT NULL constraints. The syntax is as follows. INSERT INTO yourTableName(yourColumnName) values(NULL); To under
๐ŸŒ
Microsoft Learn
learn.microsoft.com โ€บ en-us โ€บ sql โ€บ t-sql โ€บ functions โ€บ max-transact-sql
MAX (Transact-SQL) - SQL Server | Microsoft Learn
3 weeks ago - partition_by_clause divides the result set produced by the FROM clause into partitions to which the function is applied. If not specified, the function treats all rows of the query result set as a single group. order_by_clause determines the logical order in which the operation is performed. For more information, see SELECT - OVER clause. Returns a value same as expression. MAX ignores any null values.
๐ŸŒ
SQL Shack
sqlshack.com โ€บ working-with-sql-null-values
Working with SQL NULL values
May 19, 2021 - If we widen this theoretical explanation, the NULL value points to an unknown value but this unknown value does not equivalent to a zero value or a field that contains spaces. Due to this structure of the NULL values, it is not possible to use traditional comparison (=, <, > and <>) operators in the queries. As a matter of fact, in the SQL Standards using the WHERE clause as the below will lead to return empty result sets.
๐ŸŒ
Microsoft Learn
learn.microsoft.com โ€บ en-us โ€บ sql โ€บ t-sql โ€บ functions โ€บ try-cast-transact-sql
TRY_CAST (Transact-SQL) - SQL Server | Microsoft Learn
October 17, 2025 - Optional integer that specifies the length of the target data type. Returns a value cast to the specified data type if the cast succeeds; otherwise, returns null.
๐ŸŒ
GeeksforGeeks
geeksforgeeks.org โ€บ sql โ€บ sql-not-null-constraint
SQL NOT NULL Constraint - GeeksforGeeks
September 8, 2025 - For each order, you would likely have mandatory fields such as OrderID, CustomerID, ProductID, and OrderDate. These fields should never be NULL, as they represent essential information for tracking and processing orders. ... CREATE TABLE Orders ( OrderID INT NOT NULL PRIMARY KEY, CustomerID INT NOT NULL, ProductID INT NOT NULL, OrderDate DATE NOT NULL );
๐ŸŒ
Databricks
docs.databricks.com โ€บ reference โ€บ sql language reference โ€บ create table [using]
CREATE TABLE [USING] | Databricks on AWS
August 11, 2025 - Column identifiers of ICEBERG tables must be unique, case-insensitive, and follow standard SQL identifier rules. Avoid using spaces or special characters, as they might not be supported by all query engines. ... Specifies the data type of the column. Not all data types supported by Databricks are supported by all data sources. ... If specified, the column doesn't accept NULL values.