we need to update many single cells with individual MDX Update Statements.
We're doing this with ADOMD now (C# Project) in a loop.
In order to save roundtrips and put things in one transaction
we considered using the <Batch> Element of XMLA.
I could'nt find a example how to use this with MDX Commands.
this doesnt work:
<Batch>
<Command>
<Statement>
UPDATE ..
</Statement>
</Command>
<Command>
<Statement>
UPDATE..
</Statement>
</Command>
</Batch>
The Batch element at line 7, column 22 (namespace urn:schemas-microsoft-com:xml-analysis) cannot appear under Envelope/Body/Execute/Command.
Do you have any hints ?
BTW: what happend to www.xmla.org, its down?
Wher can I find a complete schema file for XMLA?
a lot of questions...
Thanks a lot,
mik
You can update multiple cell values in a single Update statement seperated by commas.
For example:
UPDATE CUBE [Cube1] SET
(USA, Sales) = 100 USE_EQUAL_ALLOCATION,
(Canada, Sales) = 50 USE_EQUAL_ALLOCATION
You can also find some information on XML/A at
http://msdn2.microsoft.com/de-de/library/ms186604.aspx
没有评论:
发表评论