ITPub博客

首页 > Linux操作系统 > Linux操作系统 > MS SQL Server中数据行居然不能跨page

MS SQL Server中数据行居然不能跨page

原创 Linux操作系统 作者:NinGoo 时间:2019-07-07 19:51:03 0 删除 编辑

MS SQL Server2000中数据行居然不能跨page(相当于Oracle的block)

create table test(x1 char(2000), x2 char(2000), x3 char(2000), x4 char(2000), x5 char(2000));
运行之后报此错误:
服务器: 消息 1701,级别 16,状态 2,行 1
创建表 'test' 失败,因为行大小将为 10021(包括内部开销),而该值超过了表中允许的最大行大小 8060。

In Microsoft(R) SQL Server(R), the maximum allowable size of a row in a table is 8060 bytes. A row cannot be split across data pages. A data page is 8 KB in size and consists of the data row and some internal data structures.


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

下一篇: Redo Byte Address(RBA)
请登录后发表评论 登录
全部评论

注册时间:2004-12-07

  • 博文量
    200
  • 访问量
    169829