I came across an old table today with a datetime column called \'Created\' which allows nulls. Now, I\'d want to change this so that it is NOT NULL, and also include a constrai
If its SQL Server you can do it on the column properties within design view
Try this?:
ALTER TABLE dbo.TableName ADD CONSTRAINT DF_TableName_ColumnName DEFAULT '01/01/2000' FOR ColumnName