XML Output is Truncated in SQL

后端 未结 8 1731
挽巷
挽巷 2020-12-09 03:44

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



        
8条回答
  •  -上瘾入骨i
    2020-12-09 04:19

    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

提交回复
热议问题