Determine length of SQL Server 2005 XML Data returned -


is there way predermine length of returned xml data sql server.

ex:

select * products xml raw, root('products') 

i using sql server 2005.

select datalength (                     (select *                     products                     xml raw, root('products')                     )                  ) 

it give size in bytes. details, see here: http://msdn.microsoft.com/en-us/library/ms173486(v=sql.90).aspx


Comments

Popular posts from this blog

linux - Using a Cron Job to check if my mod_wsgi / apache server is running and restart -

actionscript 3 - TweenLite does not work with object -

jQuery Ajax Render Fragments OR Whole Page -