The maximum number of bytes per row in SQL Server 2000-8060.

Source: Internet
Author: User
Tody, I created a table with three columns are of Data Type varchar (8000), and a warning was prompted out in the SQL query Analyzer: "Warning: the table 'testtable' has been created but its maximum row size (24094) exceeds the maximum number of bytes per row (8060 ). insert or update of a row will fail if the resulting row length exceeds 8060 bytes. ".

This means a table row has its maximum capacity, and in SQL Server 2000, the maximum capacity is 8060 bytes. the reason of this limitation is that the size of storage pages SQL server used to store data is 8 K, and the capacity of a row can not exceed that page size. so take care of this limitation. and if you want to store large characater or binary data, use text, ntext, or image.

There are also other maximum capacity specifications in SQL Server 2000. For more detailed information see:

Http://www.cnblogs.com/laser_lu/articles/44656.aspx

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.