XML values are not comparable. Referencing an XML type column in any clause that depends on comparing values such as ORDER BY, GROUP BY, or DISTINCT is an error.
XML values are not comparable. Referencing an XML type column in any clause that depends on comparing values such as ORDER BY, GROUP BY, or DISTINCT is an error.