You are here: Re: XML Data type storage « MsSQL Server « IT news, forums, messages
Re: XML Data type storage

Posted by SQLMan_25 on 11/22/06 21:18

SQLMan_25 wrote:
> Hi All,
>
> As per BOL, XML data type can store up 2 GB of data.
> My question is when a row is inserted in a table, for its xml column,
> 2GB of space will be resered.
> In other words, how xml is internally stored. Is storage allocation is
> similar to varchar(max) data type?
>
> Thanks in advance for everything.

Found the answer for my question on msdn:

In-row and out-of-row storage
Small XML data type instances are stored within the rows of a table.
Larger values that cannot be accommodated within a disk page are stored
out of row with an in-row pointer of 16 bytes.

Regards,
NH

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация