how to change column value null into not null in sql code example
Example 1: set column to not null mysql
ALTER TABLE Person MODIFY P_Id INT(11) NOT NULL;
Example 2: add new column not null sql server
ALTER TABLE MY_TABLE
ADD STAGE INT NOT NULL
DEFAULT '0';