![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi, I am trying to generate an XML output form the database. I am executing select * from Request_vw for xml auto The output data is being truncated. is there a limit on the output result of an XML query? Thanks |
#3
| |||
| |||
|
#4
| |||
| |||
|
|
Thank you for the great pointer. Here is the problem. I am calling a function to retrieve the data in XML format. The problem is that it returns only nvarchar(8000) which is smaller than what I need. I think that is why the returning data is being truncated. my function is as follows. Any ideas on how to return larger XML string is greatly appreciated. CREATE FUNCTION GetXMLRequests() RETURNS nvarchar(max) AS BEGIN -- Declare the return variable here RETURN (select * from Request_vw for xml auto) END GO |
![]() |
| Thread Tools | |
| Display Modes | |
| |