| Posted by Mo on 07/31/07 01:37 
Thank you for the great pointer. Here is the problem. I am calling afunction 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
  Navigation: [Reply to this message] |