We use "FOR XML EXPLICIT" and "OPENXML" heavily on our SQL 2000 Advanced
server. Every now and then we get an "Undeclared Tag ID" error (SQL Error
#6806). If I open the stored procedure, modify it in any way (add a carriage
return, hit the space key) and save it, the error goes away. To my knowledge
we are current on service packs.
Has anyone else had this problem and better still, does anyone know how to
fix it?
Any help would be greatly appreciated.
Thanks!