Solved

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

Posted on 2006-06-14
2
202 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 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

Transaction Monitoring Vs. Real User Monitoring

Synthetic Transaction Monitoring Vs. Real User Monitoring: When To Use Each Approach? In this article, we will discuss two major monitoring approaches: Synthetic Transaction and Real User Monitoring.

Question has a verified solution.

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

The Delta outage: 650 cancelled flights, more than 1200 delayed flights, thousands of frustrated customers, tens of millions of dollars in damages – plus untold reputational damage to one of the world’s most trusted airlines. All due to a catastroph…
Recently we ran in to an issue while running some SQL jobs where we were trying to process the cubes.  We got an error saying failure stating 'NT SERVICE\SQLSERVERAGENT does not have access to Analysis Services. So this is a way to automate that wit…
Viewers will learn how the fundamental information of how to create a table.
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.

688 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