A system, method and computer-readable medium containing
computer-executable instructions for tuning queries is provided. A query
processor converts a query into an execution plan in a hierarchical
format that conforms to a standardized schema. In one embodiment of the
invention, the hierarchical format employed is XML.