Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
可以使用未引用任何数据库对象的常数表达式作为缺省值。使用常数表达式可以设置像自今天起第十五天的日期 这样的列缺省值。要设置上述缺省值,应输入
... DEFAULT ( DATEADD( day, 15, GETDATE() ) );