I betcha he wants to store that value, so it can be used to set the value of a column...I still think he'll end up with a constraint...USE NorthWindGoCREATE TABLE myTable99 (Col1 int IDENTITY(1,1) NOT NULL, Col2 datetime NOT NULL DEFAULT (DATEADD(dd,-10,CONVERT(datetime,CONVERT(varchar(26),GetDate(),101),120))), Col3 char(1))GOINSERT INTO myTable99(Col3) SELECT 'x'SELECT * FROM myTable99GO DROP TABLE myTable99GO
Brett8-)