?
Solved

Is XML datatype exempt from 8,060 bytes-per-row limit?

Posted on 2006-06-14
2
Medium Priority
?
206 Views
Last Modified: 2012-08-14
Well?  Is it?

The maximum size of an XML-type field is 2 to the 31st power.  I'm not a math major, but I think that's quite a bit bigger than 8,060.  Can I trust that XML fields are automatically stored differently, similar to varchar(MAX)?  (Thanks, MikeWalsh!)

Thanks again,
BrianMc1958
0
Comment
Question by:BrianMc1958
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 143

Accepted Solution

by:
Guy Hengel [angelIII / a3] earned 500 total points
ID: 16906809
XML is a single field. so, for the row, only few bytes (12) are stored in the row for the pointer, the actual data is stored apart.
similary to varchar(max), you can store up to 2GB of data in such a single field.

0
 

Author Comment

by:BrianMc1958
ID: 16911027
Great.  Thanks.  
--BrianMc1958
0

Featured Post

Get proactive database performance tuning online

At Percona’s web store you can order full Percona Database Performance Audit in minutes. Find out the health of your database, and how to improve it. Pay online with a credit card. Improve your database performance now!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Slowly Changing Dimension Transformation component in data task flow is very useful for us to manage and control how data changes in SSIS.
What if you have to shut down the entire Citrix infrastructure for hardware maintenance, software upgrades or "the unknown"? I developed this plan for "the unknown" and hope that it helps you as well. This article explains how to properly shut down …
Via a live example combined with referencing Books Online, show some of the information that can be extracted from the Catalog Views in SQL Server.
Via a live example, show how to backup a database, simulate a failure backup the tail of the database transaction log and perform the restore.
Suggested Courses

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question