Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SAP Sybase SQL Anywhere 16.0 (中文) » SQL Anywhere 服务器 - SQL 用法 » 数据完整性 » 列缺省值

 

常量表达式缺省值

可以使用未引用任何数据库对象的常量表达式作为缺省值。例如,以下表达式允许列缺省值包含自今天起第十五天的日期:

... DEFAULT ( DATEADD( day, 15, GETDATE() ) );