Hi DazYou need to union in a dummy resultset. I.e.:SELECT 1 AS Tag, NULL AS Parent, NULL AS [ProductAttributes!1], NULL AS [ProductAttribute!2!AttributeStructureID], NULL AS [ProductAttribute!2!AttributeName!element], NULL AS [ProductAttribute!2!AttributeValue!element]UNION SELECT 2 AS Tag, 1 AS Parent, NULL AS [ProductAttributes!1], AttributeStructureID AS [ProductAttribute!2!AttributeStructureID], [Name] AS [ProductAttribute!2!AttributeName!element], Specification AS [ProductAttribute!2!AttributeValue!element]FROM V_ProductAttributeSpecifications ProductAttribute WHERE ProductID = 2464 ORDER BY [ProductAttribute!2!AttributeStructureID] ASC FOR XML EXPLICIT
Mark