XML The XML data type cannot be compared or sorted, except when using the IS NULL operator. By deviprasad