Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
SMALLDATETIME 是一个域,实现为 TIMESTAMP,用于存储日期和时间信息。SMALLDATETIME 是 Transact-SQL 类型。
SMALLDATETIME
SQL/2008 服务商扩充。
Transact-SQL Adaptive Server Enterprise 支持 SMALLDATETIME。Adaptive Server Enterprise 中的 SMALLDATETIME 类型支持在 1900 年 1 月 1 日和 2079 年 6 月 6 日之间的日期,而且该值时间部分受支持的精度较小。在 SQL Anywhere 中,SMALLDATETIME 实现为 TIMESTAMP,并且没有这些限制。在 SQL Anywhere 和 Adaptive Server Enterprise 之间迁移数据时,请务必注意这些差异。