This example serializes the XMLTextDoc document into a string and returns the number of bytes contained in the string.
SELECT QueryID, CHARACTER_LENGTH(xmlserialize(document XMLTextDoc)) as PlanSize FROM DBC.QRYLogXMLDocV ORDER BY QueryID;
This example serializes the XMLTextDoc document into a string and returns the number of bytes contained in the string.
SELECT QueryID, CHARACTER_LENGTH(xmlserialize(document XMLTextDoc)) as PlanSize FROM DBC.QRYLogXMLDocV ORDER BY QueryID;