
Max output length 8192 for XML output
8192 is fixed, however in QA execute
dbcc traceon(257)
then your FOR XML - you should see each element on a separate line
e.g.
dbcc traceon(257)
select * from authors for xml auto
However since SQLXML is essentially a client technology I tend
to have an asp page with an input at the top for a proc name or
sql statement which returns the xml to an iframe. This way I can see
all the output whilst testing and make sure its valid.
HTH
Jasper Smith
Quote:
> How do I get around the maximum column length (in Query Analyzer) of 8192
> for outputting SQL selects with the FOR XML AUTO clause. If the XML
output
> created a separate text row for each row, this wouldn't be an issue, but
the
> XML output is one long text string. I've tried Isql to get around this,
but
> isql won't output XML because of Unicode issues.