sql server add not null constraint to existing column code example
Example 1: Change A filed to not null
ALTER TABLE
clients
ALTER COLUMN
phone
NVARCHAR(20) NOT NULL;
Example 2: how to add not null constraint in sql
ALTER TABLE table_name MODIFY column_name datatype NOT NULL;