Click here to Skip to main content
15,891,409 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi,

I have a question that Is FOR XML PATH keyword supporetd by SQL2000.
If Yes,
i've getting error like "Incorrect syntax near the keyword 'For'".
if No,
kindly tell me with an example how to implement or write query equavalent to FOR XML PATH.
Posted

1 solution

FOR XML PATH is not supported by sql 2000
check if this is helpfull
SQL
select * from <tablename> FOR XML AUTO, ELEMENTS</tablename>


refer this
http://msdn.microsoft.com/en-us/magazine/cc163782.aspx[^]
http://msdn.microsoft.com/en-us/library/aa226519(v=sql.80).aspx[^]
http://www.mssqltips.com/sqlservertip/1077/returning-xml-result-sets-with-sql-server/[^]
 
Share this answer
 
v3

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900