Solved

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

Posted on 2006-06-14
2
189 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
2 Comments
 
LVL 142

Accepted Solution

by:
Guy Hengel [angelIII / a3] earned 125 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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Nowadays, some of developer are too much worried about data. Who is using data, who is updating it etc. etc. Because, data is more costlier in term of money and information. So security of data is focusing concern in days. Lets' understand the Au…
For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
Via a live example, show how to set up a backup for SQL Server using a Maintenance Plan and how to schedule the job into SQL Server Agent.
Viewers will learn how the fundamental information of how to create a table.

930 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now