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
I had the same issue. I changes my Query result setting to Unlimited, but it didnt work. There is a work around. Its not very neat, but if you do want to continue to use SQL Server Management studio and get the results. Tweak the query to convert the xml stored using:
convert(xml,' ')
The complete text is returned. Please note you will have to do some formatting at you end