sql server alter table set column to not null code example
Example 1: sql server alter table column nullable
ALTER TABLE Customer
ALTER COLUMN CustDesc NVARCHAR(MAX) NULL;
Example 2: change sql column from null to not null
ALTER TABLE [TABLE_NAME] CHANGE [COLUMN_NAME] [COLUMN_NAME] [COLUMN_TYPE] NOT NULL DEFAULT [DEFAULT];