Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
TIME 数据类型用于存储某天的时间,包括小时、分钟、秒和秒的小数。
TIME
小数存储到 6 个小数位。TIME 值需要 8 个存储字节。(ODBC 标准将 TIME 数据类型限制为精确到秒。由于这个原因,在依赖高于秒的精度的 WHERE 子句比较中,不应使用 TIME 数据类型。)
SQL/2008 与 SQL/2008 兼容。
Transact-SQL Adaptive Server Enterprise 支持 TIME 数据类型。但是,Adaptive Server Enterprise 支持毫秒分辨率(三位数)而不支持微秒分辨率(六位数)。在 SQL Anywhere 和 Adaptive Server Enterprise 之间迁移数据时,请务必注意这些差异。