sql change column not null code example
Example: change sql column from null to not null
ALTER TABLE [TABLE_NAME] CHANGE [COLUMN_NAME] [COLUMN_NAME] [COLUMN_TYPE] NOT NULL DEFAULT [DEFAULT];
ALTER TABLE [TABLE_NAME] CHANGE [COLUMN_NAME] [COLUMN_NAME] [COLUMN_TYPE] NOT NULL DEFAULT [DEFAULT];