Domyślna wartość kolumny w SQL taka sama jak inna kolumna
ALTER TABLE tablename ADD newcolumn type NOT NULL DEFAULT (0)
Go
Update tablename SET newcolumn = oldcolumn Where newcolumn = 0
Go
Lokesh003Coding