ITPub博客

首页 > 数据库 > SQL Server > SQL Server的datetime存储格式

SQL Server的datetime存储格式

原创 SQL Server 作者:lawzjf 时间:2009-05-28 12:32:32 0 删除 编辑

Dateime 使用8个字节存储:

前4个直接用于表示日期, 表示的方式是相对 Jan 1, 1900的天数差

后4个字节表示时间, 从半夜开始的时间,单位是 1/300 秒

[@more@]

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/37724/viewspace-1022556/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2008-01-18

  • 博文量
    279
  • 访问量
    990817