sql add default constraint to existing column code example
Example 1: how to add default constraint in mysql
ALTER TABLE "name_table" ALTER "name_column"
SET DEFAULT value_default;
Example 2: add column alter table default value
ALTER TABLE PERSON
ADD IS_ACTIVE VARCHAR2(1) DEFAULT 'N' NOT NULL