XML Output is Truncated in SQL
Posted
by Muhammad Akhtar
on Stack Overflow
See other posts from Stack Overflow
or by Muhammad Akhtar
Published on 2010-04-30T06:17:27Z
Indexed on
2010/04/30
6:27 UTC
Read the original article
Hit count: 368
Hi, I need to return my result set in XML and this works fine, but if the number of records are increased, my xml output is truncated
here is my query
select t.id,t.name,t.address from test FOR XML AUTO, ROOT('Response'), ELEMENTS
However I have set some option to increase the output result set like..
Tools --> Options --> Query Results --> SQL Server --> Results to Text --> Maximum
number of characters displayed in each column
Tools --> Options --> Results --> Maximum characters per column
but still I am unable to get my desired result.
please suggest my solution
Thanks....
© Stack Overflow or respective owner