sql add a column with default value code example
Example 1: add column table sql default value
ALTER TABLE users
ADD visit_number INT DEFAULT 0;
Example 2: alter table add column with default value
ALTER TABLE Protocols
ADD ProtocolTypeID int NOT NULL DEFAULT(1)