• To Add a default constraint of 0 and then change the filed to NOT NULL I would use the following:

    ALTER TABLE DATA ADD CONSTRAINT

     DF_DATA_istested DEFAULT 0 FOR istested

    GO

    ALTER TABLE DATA

    ALTER COLUMN [IsTested] [bit] NULL

    GO