So I've got a query in a JSP class that retrieves, basically, the entire contents of a table as a string using MS SQL's "FOR XML AUTO" feature.
I.e., select * from userdata for xml auto
.
The problem is that the result is being truncated at around 2033 characters. There's no unusual character at that point or anything; the break occurs right in the middle of a plain-text attribute.
Is there some obvious thing that's likely causing this, like a limit parameter I need to increase somewhere?
Thanks.