数据库使用什么值来表示磁盘上的 NULL?
当数据库系统将一条记录写入磁盘上的一页,并且该记录中的一个字段为空时,使用什么值来表示该“空”,以便在读回该记录时,它知道该字段是'无效的。'
也许它取决于该字段的数据类型?
When a database system writes a record to a page on disk, and one of the fields in that record is null, what value is used to represent that 'null' such that when the record is read back in, it knows that the field is 'null.'
Perhaps it is dependent on the data-type of that field?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
它使用 NULL 位图,您可以使用 DBCC PAGE 仔细查看
查看此链接有关更多详细信息使用 DBCC PAGE 进行查看
It uses a NULL bitmap, you can use DBCC PAGE to take a closer look
Check out this link for more detail Poking about with DBCC PAGE