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

SQL Anywhere 12.0.1 » SQL Anywhere 服务器 - SQL 的用法 » 数据完整性 » 列缺省值

 

当前日期和时间缺省值

对于数据类型为 DATE、TIME 或 TIMESTAMP 的列,可以使用 CURRENT DATE、CURRENT TIME 或 CURRENT TIMESTAMP 作为缺省值。您选择的缺省值必须与此列的数据类型兼容。

 CURRENT DATE 缺省值的有用示例
 CURRENT TIMESTAMP
 DEFAULT TIMESTAMP
 另请参见