As per the comments, I'm going to assume you're getting mixed up between update and insert.

 USE [DB_A] ;
 UPDATE dbo.address
 SET City = 'test',
     State = 'ing'
 WHERE City IS NULL ;

And

 USE [DB_A] ;
 UPDATE dbo.address
 SET City = NULL,
     State = NULL
 WHERE City = 'test' ;

I think you're there otherwise :-)

Answer from kezsto on Stack Exchange
๐ŸŒ
w3resource
w3resource.com โ€บ sql โ€บ insert-statement โ€บ insert-null.php
Sql inserting NULL values - w3resource
To add values'A001','Jodi','London','.12','NULL' for a single row into the table 'agents' then, the following SQL statement can be used: ... -- This SQL code attempts to insert a new row into the 'agents' table.
๐ŸŒ
GeeksforGeeks
geeksforgeeks.org โ€บ sql โ€บ how-to-insert-rows-with-null-values-in-sql
How to Insert Rows with NULL Values in SQL? - GeeksforGeeks
July 23, 2025 - INSERT INTO WORKER VALUES('SAM','ONTARIO',NULL); INSERT INTO WORKER VALUES('TIM',NULL,56); INSERT INTO WORKER VALUES(NULL,'CAIRO',43); INSERT INTO WORKER VALUES(NULL,'MUMBAI',NULL); INSERT INTO WORKER VALUES(NULL,NULL,NULL);
๐ŸŒ
Xojo Programming Forum
forum.xojo.com โ€บ targets โ€บ web
MSSQLServerDatabase ExecuteSQL insert NULL values - Web - Xojo Programming Forum
August 15, 2022 - When inserting a record into an ... into the related columns in the database. For example, if WebTextField = โ€œโ€, then insert NULL literal into the database....
๐ŸŒ
Tutorialspoint
tutorialspoint.com โ€บ sql โ€บ sql-null-values.htm
SQL - NULL Values
Here, NOT NULL signifies that column should always accept an explicit value of the given data type. You can insert NULL values into the columns where we did not use NOT NULL. Let us create a table with the name CUSTOMERS in the SQL database using the CREATE statement as shown in the query below โˆ’
Find elsewhere
๐ŸŒ
Microsoft Learn
learn.microsoft.com โ€บ en-us โ€บ sql โ€บ t-sql โ€บ language-elements โ€บ null-and-unknown-transact-sql
NULL and UNKNOWN (Transact-SQL) - SQL Server | Microsoft Learn
You can insert null values into a column by explicitly stating NULL in an INSERT or UPDATE statement, or by leaving a column out of an INSERT statement.
๐ŸŒ
Iamtimcorey
blog.iamtimcorey.com โ€บ im-getting-a-cannot-insert-the-value-null-into-column-id-message-in-sql
Iโ€™m Getting a Cannot Insert the Value NULL Into Column โ€˜IDโ€™ Message in SQL โ€“ IAmTimCorey Blog
You go to insert data into SQL, ... get the error โ€œCannot insert the value NULL into column โ€˜idโ€™โ€. It probably continues by saying โ€œcolumn does not allow nulls. INSERT fails.โ€ Something like this: You look at your SQL statement first, to see if that is the ...
๐ŸŒ
Quora
quora.com โ€บ What-is-the-command-to-insert-null-values-in-SQL-fields
What is the command to insert null values in SQL fields? - Quora
Answer (1 of 11): SQL INSERT statement is used to insert new records into table. NULL keyword represents undefined value of a column belonging to database table. According to description as mentioned into above question SQL insert statement should not be executed to insert null values into tabl...
๐ŸŒ
Dirask
dirask.com โ€บ posts โ€บ MS-SQL-Server-Insert-NULL-values-1Xoe8j
MS SQL Server - Insert NULL values
INSERT INTO [users] ( [name], [surname], [department_id], [salary]) VALUES (NULL, NULL, NULL, NULL), ('Simon', NULL, NULL, NULL), ('Taylor', 'Martin', NULL, NULL), ('Andrew', 'Thompson', 1, NULL), ('Taylor', 'Martin', 2, '2000'); ... CREATE ...
๐ŸŒ
Scaler
scaler.com โ€บ topics โ€บ sql โ€บ null-value-in-sql
NULL Value in SQL - Scaler Topics
April 20, 2022 - NULL can be inserted in any column by using the assignment operator "=". Also, to test whether a NULL is present or not we have to use certain operators, for example, IS NULL and IS NOT NULL.
๐ŸŒ
TutorialsPoint
tutorialspoint.com โ€บ insert-null-value-into-int-column-in-mysql
Insert NULL value into INT column in MySQL?
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
๐ŸŒ
Embarcadero
docwiki.embarcadero.com โ€บ InterBase โ€บ 2020 โ€บ en โ€บ Inserting_Rows_with_NULL_Column_Values
Inserting Rows with NULL Column Values - InterBase
When a specific value is not provided for a column on insertion, it is standard SQL practice to assign a NULL value to that column. In InterBase a column is set to NULL by specifying NULL for the column in the INSERT statement.
๐ŸŒ
Database Journal
databasejournal.com โ€บ home โ€บ features
Working with NULL Values in SQL | DatabaseJournal.com
March 9, 2023 - By default, all columns will allow NULL values unless otherwise specified. If you want to insert data into a table that allows NULL values, you can insert a NULL value using the NULL keyword.
๐ŸŒ
W3Schools
w3schools.com โ€บ sql โ€บ sql_null_values.asp
SQL NULL Values - IS NULL and IS NOT NULL
SQL Examples SQL Editor SQL Quiz SQL Exercises SQL Server SQL Syllabus SQL Study Plan SQL Bootcamp SQL Certificate SQL Training ... 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.
๐ŸŒ
Microsoft Learn
learn.microsoft.com โ€บ en-us โ€บ answers โ€บ questions โ€บ 812578 โ€บ how-to-enter-null
How to Enter NULL - Microsoft Q&A
In Sql server2016,I was pasting data into a table, how do i enter 'null' into a cell? I try to some ways to get it, but failed.Hope to get support........ ... A Microsoft extension to the ANSI SQL language that includes procedural programming, local variables, and various support functions. ... Welcome to Microsoft T-SQL Q&A Forum! If I understand correctly, if you want to insert null on the empty column, you can try 2 ways.