27. An article of manufacture embodied as a computer readable storage medium including a program for specifying on-line analytical processing multidimensional calculations, wherein the program, when executed by a processor of a computer, causes operations to be performed, the operations comprising: accessing measures that include symmetric and asymmetric measures, wherein each of the symmetric measures have a single aggregation, and wherein each of the asymmetric measures have multiple aggregations, wherein a measure is defined by one or more structured query language expressions and wherein the structured query language expressions are used as input to an aggregation of the measure; selecting each of the symmetric and asymmetric measures one at a time; and for the selected one of the symmetric and asymmetric measures, determining whether the selected measure is compatible with previously selected measures, wherein compatible measures have a same specification of aggregation order for dimensions that the measures reference; in response to determining that the selected measure is compatible, selecting another of the symmetric and asymmetric measures; and in response to determining that the selected measure is not compatible, determining whether one or more measures of the symmetric and asymmetric measures can be rewritten so that the selected measure is compatible with the previously selected measures; in response to determining that the one or more measures of the symmetric and asymmetric measures can be rewritten, rewriting the one or more measures of the symmetric and asymmetric measures; and in response to determining that the one or more measures of the symmetric and asymmetric measures cannot be rewritten, generating a first structured query language statement for the symmetric measures; generating a second structured query language statement for the asymmetric measures; and combining the first structured query language statement and the second structured query language statement for the symmetric and asymmetric measures into a single structured query language statement.
27. An article of manufacture embodied as a computer readable storage medium including a program for specifying on-line analytical processing multidimensional calculations, wherein the program, when executed by a processor of a computer, causes operations to be performed, the operations comprising: accessing measures that include symmetric and asymmetric measures, wherein each of the symmetric measures have a single aggregation, and wherein each of the asymmetric measures have multiple aggregations, wherein a measure is defined by one or more structured query language expressions and wherein the structured query language expressions are used as input to an aggregation of the measure; selecting each of the symmetric and asymmetric measures one at a time; and for the selected one of the symmetric and asymmetric measures, determining whether the selected measure is compatible with previously selected measures, wherein compatible measures have a same specification of aggregation order for dimensions that the measures reference; in response to determining that the selected measure is compatible, selecting another of the symmetric and asymmetric measures; and in response to determining that the selected measure is not compatible, determining whether one or more measures of the symmetric and asymmetric measures can be rewritten so that the selected measure is compatible with the previously selected measures; in response to determining that the one or more measures of the symmetric and asymmetric measures can be rewritten, rewriting the one or more measures of the symmetric and asymmetric measures; and in response to determining that the one or more measures of the symmetric and asymmetric measures cannot be rewritten, generating a first structured query language statement for the symmetric measures; generating a second structured query language statement for the asymmetric measures; and combining the first structured query language statement and the second structured query language statement for the symmetric and asymmetric measures into a single structured query language statement. 38. The article of manufacture of claim 27 , the operations further comprising: generating a structured query language statement for creation of a cube view, wherein the structured query language statement is generated from metadata in the measures; executing the structured query language statement to create the cube view; and querying the cube view.