Solved

XML Character length

Posted on 2011-03-04
5
393 Views
Last Modified: 2012-05-11
In SQL Server I know that varchar(max) is @8000 characters.

What is the max for XML output?

And is there a link that shows me all character type max lengths?
0
Comment
Question by:lrbrister
[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
  • 3
5 Comments
 
LVL 15

Accepted Solution

by:
derekkromm earned 500 total points
ID: 35036120
http://msdn.microsoft.com/en-us/library/ms187752.aspx

You'll have to click each type to get more info.

XML can hold up to 2GB.

0
 
LVL 10

Expert Comment

by:Umar Topia
ID: 35036162
Please refer this lnk:-
http://stackoverflow.com/questions/2742651/xml-output-is-truncated-in-sql

It has suggeted that, your Management Studio will truncate the XML once it crosses 2MB, but if you use it from C# code, you should be able to get the bigger XML data without truncation
0
 

Author Comment

by:lrbrister
ID: 35036230
Hey guys...and the select statement in SQL?
0
 

Author Comment

by:lrbrister
ID: 35036241
Hey guys...sorry about the question...wrong thread.
0
 

Author Closing Comment

by:lrbrister
ID: 35036243
Thanks
0

Featured Post

Get HTML5 Certified

Want to be a web developer? You'll need to know HTML. Prepare for HTML5 certification by enrolling in July's Course of the Month! It's free for Premium Members, Team Accounts, and Qualified Experts.

Question has a verified solution.

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

Ever wondered why sometimes your SQL Server is slow or unresponsive with connections spiking up but by the time you go in, all is well? The following article will show you how to install and configure a SQL job that will send you email alerts includ…
I have a large data set and a SSIS package. How can I load this file in multi threading?
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function
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.

630 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