sqlserver default 0 not work code example Example: alter table add column with default value ALTER TABLE Protocols ADD ProtocolTypeID int NOT NULL DEFAULT(1)