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