Adding root node to SQL
Database
2
Posts
2
Posters
0
Views
1
Watching
-
I have a sql where i need to add root node... Current SQL SELECT CategoryId,CategoryDesc FROM TB_CategoryMaster AS Category WHERE CategoryActive=0 ORDER BY CategoryDisplayOrder FOR XML AUTO, ELEMENTS, TYPE output : 1001Automobiles But i want 1001Automobiles any help?
-
I have a sql where i need to add root node... Current SQL SELECT CategoryId,CategoryDesc FROM TB_CategoryMaster AS Category WHERE CategoryActive=0 ORDER BY CategoryDisplayOrder FOR XML AUTO, ELEMENTS, TYPE output : 1001Automobiles But i want 1001Automobiles any help?