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

SQL Anywhere 12.0.0 (中文) » SQL Anywhere 服务器 - SQL 的用法 » 确保数据完整性 » 使用列缺省值

 

当前日期和时间缺省值

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

 当前日期缺省值的有用示例
 当前时间戳
 缺省时间戳