XML Output is Truncated in SQL

后端 未结 8 1744
挽巷
挽巷 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条回答
  •  情话喂你
    2020-12-09 04:12

    Try the following:

    Declare @xmldata xml
    set @xmldata = (select ... From test for xml...)
    select @xmldata as returnXml
    

提交回复
热议问题