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/,如需转载,请注明出处,否则将追究法律责任。