SQL 2000 doesn't support FOR XML RAW with ELEMENTS.
I am reverse engineering an app and I need to be able to produce results as they would appear if I was doing this:
SELECT *
FROM Customers
FOR XML RAW('Customer'), ELEMENTS
But, my DB is a 2000 server, not a 2005.
Ideas on how to change this FOR XML statement to return an XML string that is formed the same way as it would if run in 2005 with "FOR XML RAW('Customer'), ELEMENTS"?
All ideas are GREATLY appreciated!
-MK
I am reverse engineering an app and I need to be able to produce results as they would appear if I was doing this:
SELECT *
FROM Customers
FOR XML RAW('Customer'), ELEMENTS
But, my DB is a 2000 server, not a 2005.
Ideas on how to change this FOR XML statement to return an XML string that is formed the same way as it would if run in 2005 with "FOR XML RAW('Customer'), ELEMENTS"?
All ideas are GREATLY appreciated!
-MK