ALTER TABLE TABLENAME ADD CONSTRAINT CONSTRAINTNAME DEFAULT GETDATE() FOR COLUMNNAME
ALTER TABLE DOMAIN ADD CONSTRAINT dt_1 DEFAULT GETDATE() FOR CREATED_DATE , CONSTRAINT dt_2 DEFAULT GETDATE() FOR LAST_UPDT_DATE GO
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)