sql alter table new column code example
Example 1: alter table add column
ALTER TABLE table
ADD COLUMN column VARCHAR (255) NOT NULL AFTER column;
Example 2: sql change column in existing table
'This adds 'NOT NULL' to excisting column counting in the table mytable'
ALTER TABLE mytable ALTER COLUMN counting INT NOT NULL;