?
Solved

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

Posted on 2006-06-14
2
Medium Priority
?
208 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 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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…
One of the most important things in an application is the query performance. This article intends to give you good tips to improve the performance of your queries.
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.
Suggested Courses

830 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